Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

HTML <img> ismap Attribute

❮ HTML <img> tag


A server-side image map:

<a href="/action_page.php">
  <img src="w3html.gif" alt="W3Schools.com" ismap>
Try it Yourself »

Definition and Usage

The ismap attribute is a boolean attribute.

When present, it specifies that the image is part of a server-side image map (an image map is an image with clickable areas).

When clicking on a server-side image map, the click coordinates are sent to the server as a URL query string.

Note: The ismap attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.

Browser Support

ismap Yes Yes Yes Yes Yes


<img ismap>

❮ HTML <img> tag