For HTML5
If the meta element has a property attribute (from RDFa), then the name attribute is not .
See " HTML5 Syntax Extensions " in W3C Recommendation HTML + RDFa 1.1 - Second Edition:
If the RDFa attribute @property present in the meta element, the @name , @http-equiv and @charset attributes are not required, and the @content attribute MUST be specified.
So your markup is fine:
<meta property="og:site_name" content="--Sitename--" />
But its (now) is even valid if you use the name attribute instead of RDFas property , because OGP values ββare registered . So this is good too:
<meta name="og:site_name" content="--Sitename--" />
And you can even combine both paths :
<meta name="og:site_name" property="og:site_name" content="--Sitename--" />
source share