HTML ismap Attribute

HTML ismap Attribute: The attribute is defined as a Boolean attribute. And it also specifies that the image is part of a server-side image-map. While the user clicks on a server-side image-map, the click coordinates are sent to the server as a URL query string.

HTML ismap Attribute

This attribute can be applied to the <img> element is a descendant of an <a> element with a valid href attribute.

Syntax: <img ismap>

Browser Support

This attribute is supported by the following browsers:

  • Chrome
  • Firefox
  • Internet Explorer
  • Safari
  • Opera

ismap Attribute Example

<!DOCTYPE html>
<a href="/action_page.php">
  <img src="logo.gif" alt="" width="100" height="132" ismap>


HTML ismap attribute

Click the image, and the click coordinates will be sent to the server as a URL query string.