![]() |
VOOZH | about |
HTML <link> hreflang attribute specifies the language of the linked resource. It helps search engines understand the language targeting of a document. Without the href attribute, there is no use of this attribute in the link element.
<link hreflang="langauge_code">
This example illustrates the use of hreflang attribute in link Element.
Output:
In HTML5, set the language of text in the linked document using the hreflang attribute within the <link> tag, specifying the language code.
To fix hreflang tag errors in Google Search Console, ensure proper implementation by accurately specifying language and regional variations for each page. Review and correct any identified errors.
Supported Browsers: HTML link hreflang Attribute supported browsers are listed below.