【问题标题】:W3C validator: "Bad value robots for attribute name on element meta"W3C 验证器:“元素元上属性名称的错误值机器人”
【发布时间】:2014-04-01 18:39:25
【问题描述】:

<meta name="robots" content="index,follow"> 元标记发生了什么变化?我使用 HTML5 和 W3C 验证器将我的页面标记为无效。 http://wiki.whatwg.org/wiki/MetaExtensions 中允许有 robots 元名称。

确切的验证器错误:

元素meta 上属性name 的错误值robots:未注册关键字robots

【问题讨论】:

    标签: html meta-tags meta w3c-validation


    【解决方案1】:

    验证器错误。

    robots根据HTML5’s rules命名为registered,所以你可以使用它。

    您可能会在所有其他注册名称中看到同样的问题(例如,google name)。

    【讨论】:

      猜你喜欢
      • 2013-11-17
      • 2012-10-02
      • 2014-08-20
      • 2021-11-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-17
      • 1970-01-01
      相关资源
      最近更新 更多