hrefLang attribute (a, link)
JavaScript page for this attribute: hreflang. You can find other example(s) there. |
Possible values:
String that sets the language code. For more information about language codes click here.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the hrefLang attribute:
|
|||
<a href="http://www.example.com/" hreflang="en-US" target="_blank">anchor text</a> |
|||
|
|||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
User Contributed Comments