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.

Exact validator error:

Bad value robots for attribute name on element meta: Keyword robots is not registered.

有帮助吗?

解决方案

The validator is wrong.

The robots name is registered according to HTML5’s rules, so you can use it.

You’ll probably see the same problem with all other registered names, too (e.g., with the google name).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top