PHP前端开发

在HTML中将一张图片设置为服务器端的图像映射?

百变鹏仔 4周前 (09-21) #HTML
文章标签 设置为

使用 HTML 中的 ismap 属性将图像设置为 HTML 中的服务器端图像映射。

示例

您可以尝试运行以下代码来实现 ismap 属性 -

<!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>