在 HTML 中將圖片設定為服務端影像對映?


在 HTML 中使用 ismap 屬性將圖片設定為服務端影像對映。

示例

你可以嘗試執行以下程式碼來實現 ismap 屬性 −

<!DOCTYPE html>
<html>
   <body>
      <a href="">
         <img src = "https://tutorialspoint.tw/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>

更新時間: 03-Mar-2020

651 瀏覽量

開啟你的 職業生涯

完成該課程即可獲得認證

開始
廣告
© . All rights reserved.