Image Maps
An image map makes parts of one image clickable. Use usemap on the img and a map with area elements that describe shapes and links.
Example
<img usemap="#m" alt="Two shapes" width="200" height="80" src="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27200%27 height=%2780%27%3E%3Crect width=%2780%27 height=%2780%27 fill=%27%2314b8a6%27/%3E%3Ccircle cx=%27150%27 cy=%2740%27 r=%2740%27 fill=%27%23f59e0b%27/%3E%3C/svg%3E">
<map name="m">
<area shape="rect" coords="0,0,80,80" href="#teal" alt="Teal square">
<area shape="circle" coords="150,40,40" href="#amber" alt="Amber circle">
</map>Exercise
Attach a map.
<img ="#m">
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.