HTML <area> Tag with the 'hreflang' Attribute
<img src ="/images/examples/australia-nz-map.gif" width="200" height="142" alt="Map of Australia and New Zealand" usemap ="#aus-nz">
<map name="aus-nz">
<area shape ="poly" coords ="3,47,45,12,105,7,140,60,120,125,12,90" href ="https://en.wikipedia.org/wiki/Australia" target="_blank" alt="Australia" hreflang="en">
<area shape ="poly" coords ="180,85,200,98,167,142,157,138" href ="https://en.wikipedia.org/wiki/New_Zealand" target="_blank" alt="New Zealand" hreflang="en">
</map>
The above example demonstrates the hreflang
attribute of the <area>
element.
The hreflang
attribute indicates the language code of the destination URL. Only to be used when the href
attribute is present.
This attribute is purely advisory.