Вопрос

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