The lang attribute of the < html > tag declares the language of the HTML document.
The lang attribute has been replaced by the XML: lang attribute in new XHTML documents.
The lang attribute is used for earlier version compatibility.