Search code examples
htmlw3c-validationmeta

How can I avoid the "Bad value language for attribute name on element meta" HTML validation error?


I'm getting this error when I validate my HTML using the W3C validator:

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

<meta name="language" content="en" />

How can I solve this?


Solution

  • Use

    <html lang="en">
    

    Source