img ismap Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:img

Description

The ismap attribute is a boolean attribute to set if the image is part of a server-side image-map.

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

A server-side image-map:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<a href="/action_page.php">
  <img src="https://www.java2s.com/style/demo/Opera.png" alt="alt message" width="100" height="132" ismap>
</a><!--from w w w . jav a2 s  .  c  o  m-->

</body>
</html>

Related Tutorials