HTML hreflang property
Example
Here, the hreflang attribute simply indicates that the linked document is written in English:
Try it »
Browser support





Almost no major browser supports the hreflang attribute. However, it can be used by search engines or in scripts.
Definition and Usage
The hreflang property specifies the language of the text in the linked document.
The hreflang attribute can only be used when the href attribute is set.
**Note:** This attribute is purely advisory.
Differences between HTML 4.01 and HTML5
none.
Syntax
Language code reference.
HTML
tag