HTML
Example
An image map with clickable areas:
Try it »
Browser support





All major browsers support the name attribute.
Definition and Usage
The name attribute is required and specifies the name of the image-map.
The name property is associated with the usemap attribute of the tag, to create the relationship between the image and the map.
Differences between HTML 4.01 and HTML5
none.
Syntax
Attribute values
| Value | Description |
|---|---|
| mapname | The name of the image-map. |
HTML