Identify the default language of a document by providing the lang and/or xml:lang attribute on the html element. In HTML documents use the lang attribute, while XHTML 1.0 allows both lang and xml:lang attributes, and XHTML 1.1 and above allows only xml:lang.
Engine checks whether the document uses a lang or xml-lang attribute
The objective of this technique is to identify the default language of a document by providing the lang and/or xml:lang attribute on the html element.<br>
Identifying the language of the document is important for a number of reasons:<br>
It allows braille translation software to adapt accordingly.<br>
Speech synthesizers that support multiple languages will be able to speak the text in the appropriate accent with proper pronunciation.
<blockquote xml:lang="en">
<p>text
</p>
</blockquote>