Easy Tutorial
❮ Jsref Tostring Date Prop Video Paused ❯

Image useMap Attribute


Definition and Usage

The useMap attribute sets or returns the value of the usemap attribute of an image.

The usemap attribute specifies a client-side image map (a clickable area map) for an image.

The usemap attribute is related to the name attribute of the map element, and both can create an association between the image and the map.

Syntax

The useMap attribute can be one of the following values:

Value Description
# mapname A hash character ("#") plus the name of the map element

Browser Support

All major browsers support the useMap attribute.


Example

Return the usemap attribute value of the client-side image map:


❮ Jsref Tostring Date Prop Video Paused ❯