Search the Whole World Here.,.,

The lang Attribute

The lang Attribute

The language of the document can be declared in the  tag.
The language is declared with the lang attribute.
Declaring a language is important for accessibility applications (screen readers) and search engines:
<!DOCTYPE html>
<html lang="en-US">
<body>

...

</body>
</html>
The first two letters specify the language (en). If there is a dialect, use two more letters (US).


EmoticonEmoticon