The xml:lang Attribute

XML Attributes in HTML

The xml:lang HTML attribute

The HTML lang attribute serves the same purpose as the xml:lang attribute and should be used instead. However, the prefixed xml:lang attribute is sometimes used on the html element.

Examples

<dt lang="fr-CA">de rigeur</dt>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

Prev: xml:id Next: xml:space 

Home > XML Attributes > xml:lang

Viewing mobile website page. Switch to WML or Full HTML