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

user1999828 picture user1999828 · Apr 12, 2013 · Viewed 9.3k times · Source

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?

Answer

jgillich picture jgillich · Apr 12, 2013

Use

<html lang="en">

Source