Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Set an Image as a Server-Side Image Map in HTML



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>
Updated on: 2020-03-03T09:58:38+05:30

721 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements