W3C验证器:“元素元素属性名称的错值机器人” [英] W3C validator: "Bad value robots for attribute name on element meta"

查看:119
本文介绍了W3C验证器:“元素元素属性名称的错值机器人”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< 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 name 的值机器人 c>:关键字机器人未注册。

Bad value robots for attribute name on element meta: Keyword robots 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆