HTML <object> usemap attribute
Definition and Usage
usemap
Attribute specifies the name of the image map to be used with the object.
An image map is an image with clickable areas.
The usemap attribute with The <map> element Of Name Attribute Linked, and create a relationship between the object and the map.
Example
Use the <object> element with image mapping:
<object data="planets.gif" width="145" height="126" usemap="#planetmap"></object>
Syntax
<object usemap="#mapname">
Attribute Value
Value | Description |
---|---|
#mapname | Hash (#) followed by the name of the map element to be used. |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Not Supported | Not Supported | Supported | Not Supported | Not Supported |