How to specify language of the target URL in HTML5 ?
In this article, we will learn how to set the language of the target URL in HTML5.
The task can be done by using the hreflang attribute while using the <area> tag. This property contains the value i.e languageCode which represents the two-letter code of the linked document language.
Note: If the target document is in English then en is passed as the value.
Example: The following code also uses the HTML map tag.