- 指定字符集
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- 向搜索引擎说明你的网页的关键字
<meta name="keywords" content="关键字"/>
- 告诉搜索引擎你的站点的主要内容
<meta name="description" content=""/>
- 定时让网页在指定的时间内跳转
<meta http-equiv="refresh" content="n;url="/>
- 勇于设定网页的到期时间,一旦过期则必须到服务器上重新调用,需要注意的是必须使用GMT时间格式
<meta http-equiv="expires" content="Mon,12 May 2010 00:00:00 GMT"/>
- 禁用缓存:
<meta http-equiv="pragma" content="no-cache"/>
- cookie设定,如果网页过期,存盘的cookie将会被删除,需要注意的是也必须使用GMT时间格式:
<meta http-equiv="set-cookie" content="Mon,12 May 2010 00:00:00 GMT" />