Dofactory.com
Dofactory.com
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

HTML <img> ismap Attribute

The ismap attribute on an <img> tag specifies that the image is used as a server-side image map.

With this setting, mouse clicks are sent to the server.

Example

#

An ismap attribute on an <img> element.
Clicking the image sends the mouse coordinates to the server.

<a href="/tutorial/click-handler.html">
  <img src="/img/html/vangogh.jpg" ismap>
</a>

Using ismap

The ismap attribute specifies that the image is used as a server-side image map.

With this setting, the image click coordinates are sent to the server as a URL query string.

This attribute requires that the <img> is contained by an anchor element.


Syntax

<img ismap>

Browser support

Here is when ismap support started for each browser:

Chrome
1.0 Sep 2008
Firefox
1.0 Sep 2002
IE/Edge
1.0 Aug 1995
Opera
1.0 Jan 2006
Safari
1.0 Jan 2003

You may also like

 Back to <img>

Last updated on Sep 30, 2023

Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

Guides