Latest web development tutorials

HTML img ismap property

HTML img tag Reference Manual HTML <img> tag

Examples

A server-side image maps:

<a href="form_action.php">
<img src="logo.png" alt="w3big.com" width="336" height="69" ismap>
</a>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support ismap property.


Definition and Usage

ismap property is a Boolean property.

ismap attribute the image is defined as a server-side image maps (maps image refers to an image with clickable areas).

When you click a server-side image map, click on the coordinates will be sent to the server as URL query string.

Note: Only when the <img> element belongs to <a> elements with a valid href attribute descendants, are allowed to use ismap property.


Differences between HTML 4.01 and HTML5

no.


Differences between HTML and XHTML

In XHTML, prohibit attribute minimization, ismap property must be defined as <img ismap = "ismap" />.


grammar

<img ismap>


HTML img tag Reference Manual HTML <img> tag