A two-letter language code that specifies the language of the linked resource.
Sample Coding for hreflang Attribute in HTML:
Code Explanation for hreflang Attribute in HTML:
hreflang attribute used define the language of linked resource as English.
Output for hreflang Attribute in HTML:
The output shows that the “Wikitechy” Link specified in English which is not visible to user that will be used to search engine for regional search results.