HTML <a> hreflang Attribute

❮ HTML <a> tag

Example

<a href="https://www.google.com" hreflang="en">Google</a>

Meaning

language of the hyperlinked page or document.

Notes: Use this attribute for advisory.


Standard Syntax

<a hreflang="languageCode">



Browser Support




Status







Attribute Values

Value Description
languageCode Two letter language code
❮ HTML <a> tag