Set an image as a server-side image map in HTML?

HTMLWeb DevelopmentFront End Technology

Use the ismap attribute in HTML to set the image as a server-side image map in HTML.

Example

You can try to run the following code to implement the ismap attribute −

<!DOCTYPE html>
<html>
   <body>
      <a href="">
         <img src = "https://www.tutorialspoint.com/assets/videotutorials/courses/android_penetration_testing/380_course_203_image.jpg"
            alt="Android Penetration Testing"
            width = "300" height = "250" ismap>
      </a>
      <p>On clicking the coordinates is sent to the server as a URL query string.</p>
   </body>
</html>
raja
Published on 14-Mar-2018 12:36:59
Advertisements