HTML img usemap Attribute

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.


<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
HTML img usemap Attribute Reviewed by 1000sourcecodes on 04:24 Rating: 5
Powered by Blogger.