获取HTML中内容属性的HTTP头信息

原创
ithorizon 5个月前 (10-19) 阅读数 31 #HTML

使用 http-equiv属性获取 HTML 中内容属性信息的 HTTP 标头。

示例

您可以尝试运行以下代码来实现http-equiv em> 属性 -

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

以上就是获取HTML中内容属性的HTTP头信息的详细内容,更多请关注IT视界其它相关文章!



热门