Home  >  Article  >  Web Front-end  >  Set an image as a server-side image map in HTML?

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

WBOY
WBOYforward
2023-09-15 11:49:021164browse

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

Set the image as a server-side image map in HTML using the ismap attribute in HTML.

Example

You can try running 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>

The above is the detailed content of Set an image as a server-side image map in HTML?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete