獲取 HTML 中內容屬性資訊的 HTTP 頭


使用 http-equiv 屬性獲取 HTML 中內容屬性資訊的 HTTP 頭。

示例

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

<html>
   <head>
      <title>HTML http-equiv attribute</title>
      <meta name = "keywords" content = "HTML, meta tag, metadata" />
      <meta name = "description" content = "Description of the document" />
      <meta http-equiv = "refresh" content = "10" />
   </head>
   <body style = "background-color:gray">
      Document content goes here
   </body>
</html>

更新日期: 2020 年 3 月 3 日

257 次瀏覽

開啟你的 職業生涯

完成課程獲得認證

立即開始
廣告
© . All rights reserved.