HTML usemap Attribute
HTML usemap Attribute
The usemap attribute is used to specify an image as an image map i.e, has clickable areas. It is associated with a map element by name or id attribute and creates a relationship between the img element and the map element. It only works when the img element is not embedded in the button or a elements.
Used WIth:-
Elements | Attribute |
---|---|
img | usemap |
object | usemap |
Syntax:-
Its syntax is:- < element usemap="value" >