The img tag of html: defines an image to be introduced in the web page. It also has a usemap attribute that is very interesting.
Look at the map on the homepage of 51ditu, and there is a map of China in the middle. Right-click to download and take a look at an ordinary picture.
But clicking on a province on the map can trigger different events (or open different links), which is very interesting. It turns out that the usemap attribute is used.
Of course you also need to define a map tag. The entire code is as follows: