Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

When the attribute “xml:lang” in no namespace is specified, the element must also have the attribute “lang” present with the same value.

Elements that have the xml:lang attribute also need a matching lang attribute. In HTML5 documents, using just the lang attribute is enough.

Related W3C validator issues