如何在 HTML 中顯示解釋引用/已刪除/已插入文字的 URL?


cite 屬性允許您新增 URL 並說明刪除或插入文字的原因。

示例

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

<!DOCTYPE html>
<html>
   <body>
      <h3>Define WordPress</h3>
      <q cite = "https://wordpress.org/">
      WordPress is open source software you can use to create a beautiful website, blog, or app.</q>
   </body>
</html>

更新日期:28-May-2020

74 次瀏覽

開啟你的 職業生涯

完成該課程獲得認證

開始
廣告
© . All rights reserved.