HTML <area> Tag with the 'type' 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="/images/examples/byron_bay_australia.jpg" alt="Australia" download type="image/jpg">
<area shape="poly" coords="180,85,200,98,167,142,157,138" href="/images/examples/milford_sound_nz.jpg" alt="New Zealand" download type="image/jpg">
</map>
The above example demonstrates the type
attribute of the <area>
element.
The type
attribute specifies the MIME type of the linked resource. Only to be used when the href
attribute is present.
This attribute is purely advisory.