xml:lang Attributexml:lang Attributexml:lang is a Common Attribute from the
I18N Attribute Collection
and is of Type LanguageCode.
It may be used on most elements in the Element Index - all except: base, br, param, script.
The xml:lang is a common Internationalisation attribute and can be
used on most elements to specify the LanguageCode
to apply to the element and its children.
Although technically not mandatory, you should always include an
xml:lang attribute on a document's html element, specifying
the language in which the document is (primarily) written.
See also the dir attribute.