Image Object
The useMap property sets or returns the value of the usemap attribute of an image.
The usemap attribute specifies an image as a client-side image-map (an image-map is an image with clickable areas).
The usemap attribute is associated with a map element's name attribute, and creates a relationship between the image and the map.
The useMap property can have the following value:
| Value | Description |
|---|---|
| #mapname | A hash character ("#") plus the name of the map element to use |
![]()
The useMap property is supported in all major browsers.
Return the value of the usemap attribute of a client-side image-map:
Image Object
Your message has been sent to W3Schools.