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


使用 HTML 中的 ismap 屬性將圖片設為 HTML 中的伺服器端圖片對映。

示例

您可以嘗試執行以下程式碼來實現 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-3 月-2020

651 次瀏覽

開啟你的 事業

完成課程後獲得認證

開始
廣告
© . All rights reserved.