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>