The map tag must appear in pairs, that is,
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 of the image. area is a single tag, not paired.
Attributes:
accesskey shortcut key
alt image prompt text
coords coordinates of the graphics defining and clicking the area
href link address
nohref The area that can be excluded by clicking on the image. When there is no href, you need to use nohref
shape The shape of the clickable area
tabindex tab Key traversal
target link target
Code example: