useMap attribute (applet, img, object, ...)
Sets the URL to use as an image map.
This attribute identifies a map element to use as an image map for the object to specify the clickable (anchor-like) regions in the current image.
String that sets the URL of the image map.
The URL often contains a bookmark extension (#name), where the 'name' is the value of a map object's name attribute. The URL can be an absolute or relative path as well. Relative paths are relative to the base URL. The base URL is the location of the current document, but it can be overridden by the base tag.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the useMap attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments