html e8e496c15ba93d81f6ea4fe5f55a2244标签用于声明html文档的元数据。以下是属性:
属性
值
描述
name
authordescription
keywords
generator
revised
others
属性的名称。
content
文本
定义与http-equiv或name关联的元信息。
http-equiv
content-typeexpires
refresh
set-cookie
将content属性连接到http头。
scheme
文本
定义用于解释content属性值的格式。
示例您可以尝试运行以下代码来包含元数据:
<html> <head> <title>html meta tag</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文档中包含元数据的详细内容。