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

以上就是在HTML中将一张图片设置为服务器端的图像映射?的详细内容,更多请关注双恒网络其它相关文章!