获取HTTP标头以获取HTML中content属性的信息

使用 HTTP的当量属性来获取HTTP标头在HTML内容属性的信息。

示例

您可以尝试运行以下代码来实现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>