What is a Language Code?
The language code tells visitors the natural human language of the web page content. Many tools and applications use the language code to apply correct fonts and styling, use a different voice with text-to-speech applications, determine the spell checking dictionary to use, and other tasks that depend on what the language of the page is.
How to Declare Language?
To declare a language, HTML uses the “lang” attribute. The “lang” attribute can be added to any HTML tag, but in most cases it should be added to the top-level <html> tag if all of the content on the web page is in the same language. Here is an example of how the <html> element will look with the “lang” attribute set to English: <html lang=”en”>.
200+ Design Templates + 1 Kick-ass SuperTheme
6 WordPress Plugins + 2 Essential Services
Everything you need to build and manage WordPress websites in one Central place.