Content Languages
suggest changeVersions
[{“Name”:“4.0”,“GroupName”:null},{“Name”:“4.01”,“GroupName”:null},{“Name”:“5”,“GroupName”:null}]
Syntax
<element lang="language_code">
<!– Language code has to be in the format [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1 ) –>
Remarks
The value of the lang
attribute must be a valid BCP 47 language tag or the empty string (if the language is unknown).
The BCP 47 language tags are listed in the IANA Language Subtag Registry.
Accessibility
The relevant WCAG 2.0 Success Criteria are:
The related WCAG 2.0 Techniques are:
- H57: Using language attributes on the html element
- H58: Using language attributes to identify changes in the human language
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents