'hreflang' Syntax and Note : hreflang « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- hreflang
'hreflang' Syntax and Note
Note:
Read and write property.
Sets the written language code for href destination.
Syntax:
document.getElementById("elementID").hreflang = value
document.all.elementID.hreflang = value // IE only
Related examples in the same category