PHP前端开发

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

百变鹏仔 4周前 (09-22) #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>