HTML <img> ismap Attribute
Example
<a href="action.php">
<img src="img-boy.jpg" alt="Boy" width="500" height="600" ismap>
</a>
Meaning
The ismap is a boolean attribute specifies that the image is a server-side image map.
User mouse actions over the image are sent to the server for processing.
This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.
This gives users without pointing devices a fallback destination.
Standard Syntax
HTML: <img src="URL" alt="text" ismap>,
XHTML: <img src="URL" alt="text" ismap />
Advertisement
Attribute Values
| Value | Description |
|---|---|
| ismap | This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value. |