W3C验证器:“元素元素属性名称的错值机器人” [英] W3C validator: "Bad value robots for attribute name on element meta"
问题描述
< meta name =robotscontent =index,follow>
元标记有哪些变化?我使用HTML5和W3C验证器将我的页面标记为无效。 http:// wiki中允许使用 robots
元名称.whatwg.org / wiki / MetaExtensions 。
What has changed with <meta name="robots" content="index,follow">
meta tag? I use HTML5 and W3C validator marks my page as invalid. There is robots
meta name allowed in http://wiki.whatwg.org/wiki/MetaExtensions.
完全验证错误:
元素
meta $ c $上的属性
name
的值机器人
c>:关键字机器人
未注册。
Bad value
robots
for attributename
on elementmeta
: Keywordrobots
is not registered.
推荐答案
验证器错了。
robots
名称是已根据元数据名称rel =nofollow noreferrer> HTML5的规则,因此您可以使用它。
The robots
name is registered according to HTML5’s rules, so you can use it.
您可能会看到与其他所有问题相同的问题注册名称(例如,使用 google
名称)。
You’ll probably see the same problem with all other registered names, too (e.g., with the google
name).
这篇关于W3C验证器:“元素元素属性名称的错值机器人”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!