HTML4 HTML5
Used to create an active image map[cite: 3]. It allows defining clickable areas on an image (using <area> tags) that point to various links[cite: 3].
Both opening and closing tags are mandatory[cite: 3].
Attributes:
name – (required) unique name of the map referenced by the <img> tag via the usemap="#map_name" attribute[cite: 3].class, id, and style are also used[cite: 3].Code:
The browser will interpret this code as follows: