How to use < img > tag with ismap attribute in HTML ? with Example
How to use < img > tag with ismap attribute in HTML ? with Example
The ismap attribute is a boolean attribute. Specifies an image as a server-side image map When present, it specifies that the image is part of a server-side image map (an image map is an image with clickable areas)
Example of ismap attribute of <img> tag in HTML
<html>
<body>
<h1>The img ismap attribute</h1>
<a href="/respond.php">
<img src="thinkforu.png" alt="thinkforu.org"
width="112" height="122" ismap>
</a>
<p>Click the image, and the click coordinates will be sent to the server as a URL query string.</p>
</body>
</html>
O/p:Example after clicking on image [ 100,23 ] this is the string value we got after clicking on Image which is present on front end .
Comments
Post a Comment