Definition and Usage The usemap attribute specifies an image map to use on the image. This attribute refers to the id or name (browser d...
Definition and Usage
The usemap attribute specifies an image map to use on the image.This attribute refers to the id or name (browser dependant) attribute in <map>.
To this attribute is used together with the <map> and <area> elements.
Syntax
<img usemap="name/id" /> |
Syntax Example
<img usemap="#planetmap" /> |
Attribute Values
Value | Description |
---|---|
name/id | Specifies the name or id (browser dependant) of the image map to use |