Check out example codes for "html lang tab". It will help you in understanding the concepts better.

Code Example 1

<html lang="en">
	<!-- ... -->
</html>

Code Example 2

The HTML lang attribute is used to identify the language of text content on the web. This information helps search engines return language specific results, and it is also used by screen readers that switch language profiles to provide the correct accent and pronunciation

Syntax
<element lang="language_code">
  
Example
Some French text in a paragraph:

<p lang="fr">Ceci est un paragraphe.</p>

Code Example 3

It basically tells the search engine about the language of the content of the web page.

Learn ReactJs, React Native from akashmittal.com