2014-03-12 23 views

回答

58

name屬性是在HTML中指定元數據的「常用」方法。這是defined in the HTML5 spec

property屬性來自RDFa

RDFa 1.1擴展了HTML5,所以it’s valid to use meta and link elements in the body,只要它們包含property屬性。

您可以同時使用HTML5的name和RDFa的property,together on the same meta element

請注意,您可能還會看到meta elements with an itemprop attribute。那將是從Microdata

+0

Google正在爲重複元標記提供建議。它的計數屬性=「og:dscription」''和'name =「description」'屬性相同 – Frondor

+2

Frondor的論點是否屬實? – Pascut

+0

@Pascut:討論Google搜索引擎的行爲與Stack Overflow無關。你可以在[webmasters.se]上提出一個問題。 – unor

相關問題