HTML <link> hreflang attribute
HTML <link> tag
Example
In the following example, the hreflang attribute indicates that the linked
document is written in Japanese:
<head>
<link href="domoarigato.htm" rel="parent" charset="ISO-2022-JP" hreflang="ja" />
</head>
|
|
Definition and Usage
The hreflang attribute specifies the language of the text in the linked
document.
Browser Support

The hreflang attribute is not supported in any of the major browsers.
Syntax
<link hreflang="value" />
|
Attribute Values
Value |
Description |
language_code |
A two-letter language code that specifies the language of the
linked document.
To view all available language codes, go to our
Language code reference.
|
HTML <link> tag
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|