Search code examples
htmlmetadatameta-tagsw3c-validation

Pics-label meta tag in html 5


I'm rebuilding an existing site in html5. There is a Pics-label meta element in the header.

<meta http-equiv="Pics-label" content="(somecontent)" >

When I validate it through http://validator.w3.org/ it gives the following error.

Bad value Pics-label for attribute http-equiv on element meta.

I searched the internet but couldn't find anything helpful. Please help me on this.

Thanks in advance


Solution

  • Ignore the error message. This a bug in the validator: it has not been updated to recognize the values specified in the registry. In response to the bug report on March 1, 2013, this bug was acknowledged, but it has not been fixed yet.

    The background is that unlike previous versions of HTML, HTML5 restricts the use of <meta http-equiv=...> elements to a specific, though mutable, set of header names.