定义针对搜索引擎的关键词:
<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript" />
定义对页面的描述:
<meta name="description" content="meta标签详解。" />
定义页面的最新版本:
<meta name="revised" content="David, 2020/8/10/" />
每 5 秒刷新一次页面:
<meta http-equiv="refresh" content="5" />
属性
属性 | 值 | 描述 |
---|---|---|
charset | character | encoding |
content | some_text | 定义与 http-equiv 或 name 属性相关的元信息。 |
http-equiv | content-typeexpiresrefreshset-cookie |