English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The ismap attribute is a boolean attribute. When the server-side image map is clicked, the coordinates of the click will be sent to the server as a URL query string.
Click on the image, the coordinates of the click will be sent to the server as a URL query string:
!DOCTYPE html <html> <head> <title>HTML:<img> ismap 属性 - 基础教程网 oldtoolbag.com</title> <body> <a href="action_page.php"> <img src="/static/images/logo.png" alt="w"3codebox.com" width="100" height="132" ismap" </a> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the ismap attribute.
The ismap attribute is a boolean attribute.
If 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 coordinates of the click will be sent to the server as a URL query string.
Note: ismap attribute is allowed only when the <img> element is a descendant of an <a> element with a valid href attribute.
None.
In XHTML, attribute shorthand is prohibited. The ismap attribute must be defined as <img ismap="ismap" in XHTML. />。
<img ismap>HTML <img> tag