Question

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.

Was it helpful?

Solution

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top