Quick Tip: Document and Content Language
lang attribute in HTML should be used to identify the language of web pages and of other-language content within a web page. There are over 8,000 language codes, but in most cases it’s best to use the most succinct value for a particular language – typically two characters (e.g.,
lang="en") is sufficient.
The monthly Web Accessibility Tip comes from WebAIM and is shared to get a wider audience. For more information about web accessibility, please visit the WebAIM website.
See also information about how you can subscribe to the monthly WebAIM Newsletter which contains lots of great information about web accessibility.