The lang Attribute
The lang Attribute
Declaring a language is important for accessibility applications (screen readers) and search engines.
The language of the document can be declared in the <html> tag. The language is declared with the lang attribute.
The first two letters specify the language (en). If there is a dialect, use two more letters (US).