Map tags must appear in pairs, i.e.
<map> ....</map>
At the same time, map must be used in conjunction with area.
The usermap attribute value in the img tag must be exactly the same as the id and name values in the map tag.
area tag: defines the click area area of the image. It is a single tag and is not paired.
property:accesskey shortcut keys
alt picture prompt text
coordinates Define and click the coordinates of the graph in the area
href link address
nohref The area that can be excluded by clicking on the image. When there is no href, nohref is required.
shape The shape of the clickable area
Tabindex tab key traversal
target link target
Code example:Copy the code