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>
This attribute is supported by the following browsers:
- Internet Explorer
ismap Attribute Example
<!DOCTYPE html> <html> <body> <a href="/action_page.php"> <img src="logo.gif" alt="https://tutorials.freshersnow.com/" width="100" height="132" ismap> </a> </body> </html>
Click the image, and the click coordinates will be sent to the server as a URL query string.