LINK.hreflang (Property)

The language that the document at the other end of the URL is expected to conform to.


DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myLINK.hreflang

This property should contain values that use the international language two-letter abbreviation codes. These are not the same as the country codes, which are also two letter values.

Refer to the Language codes topic for a list of the available language codes.

See also:Anchor.hreflang, Language codes, Url.hreflang