HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
HTML <link> tag : Here, the hreflang attribute indicates that the linked document is in English
The hreflang
attribute specifies the language of the text in the linked document.
This attribute is only used if the href
attribute is set.
Attribute | |||||
---|---|---|---|---|---|
hreflang | Yes | Yes | Yes | Yes | Yes |
hreflang
attribute does not render as anything special in any of the
major browsers. However, it can be used by search engines, or in scripts.
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