Javascript Reference
Categories: A

javascript A hreflang

@March 15, 2008, 1:22 a.m.

hreflang Firefox/Netscape/NN 6 IE 6 Chrome/Safari/DOM 1  

Read/Write  

Provides the language code of the content at the destination of a link. Requires that the href attribute or property also be set.

 
Example
 
document.getElementById("myLink").hreflang = "DE";
 
Value

Case-insensitive language code.

 
Default

None.


Powered by Linode.