X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <img> ismap Attribute

HTML img Tag Reference HTML <img> tag

Example

A server-side image-map:

<a href="demo_form.asp">
  <img src="w3html.gif" alt="W3Schools.com" ismap>
</a>

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

Attribute
ismap Yes Yes Yes Yes Yes


Differences Between HTML 4.01 and HTML5

NONE.


Differences Between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the ismap attribute must be defined as <img ismap="ismap" />.


Syntax

<img ismap>


HTML img Tag Reference HTML <img> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook