Sets the language code of the XML document.
The declared xml:lang attribute is considered to apply to all attributes and content of the element, and all of its children unless overridden with an instance of the xml:lang attribute.
String that sets the language code. For more information about language codes click here.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the xml:lang attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments