w3c-validation - 错误: Bad value twitter:domain for attribute name on element meta: Keyword twitter:domain is not registered

标签 w3c-validation

如何在 w3c 验证器中为 Twitter 卡启用标签名称 twitter:domain?

<meta name="twitter:domain" content="...." >

最佳答案

如果您使用的是 HTML5,则只能使用列出的值 in the specificationin the WHATWG wiki page "MetaExtensions" (另请参阅this answer)。

twitter:domainregistered在wiki中,使用它是有效的。

所以验证器不是最新的。

关于w3c-validation - 错误: Bad value twitter:domain for attribute name on element meta: Keyword twitter:domain is not registered,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18168648/

相关文章:

html - 这个标记有什么 "wrong"吗?

javascript - 如何使 Google+ JavaScript 标记通过 W3C 验证

height - 正确清除 float <li>

HTML 检查 - 在 href 中使用 tel 时网站无效

javascript - W3C 错误 : document type does not allow element X here; missing one of Y start-tag

html - G 加分享按钮不是 W3C 有效

css - W3C CSS Validator 结果 'Value Error : font-family Property font-family doesn' t 存在于 CSS level 2.1 但存在于 [css1, css2, css3] : Helvetica'

w3c 验证中的 html 5 marquee 标记错误

HTML CSS 验证错误