HTML 4
name 属性
1.<mate name="author" content="" />告诉搜索引擎你的站点的制作的作者;
2.<mate name="description" content="" />告诉搜索引擎你的站点的主要内容,也算是对keywords的补充说明;
3.<mate name="keywords" content="" />向搜索引擎说明你的网页的关键词;
4.<mate name="generator" content="" />说明你文档的生成工具;
5.<mate name="revised" content="" />定义页面的最新版本.
http-equiv 属性
1.<mate http-equiv="content-type" content="text/html;charset=''" />定义文档的字符编码;
2.<mate http-equiv="expires" content="" />可以用于设定网页的到期时间,一旦过期则必须到服务器上重新调用。需要注意的是必须使用GMT时间格式;
3.<mate http-equiv="refresh" content="n;http" />定时让网页在指定的时间n内,跳转到页面http;
4.<mate http-equiv="set-cookie" content="" />cookie设定,如果网页过期,存盘的cookie将被删除。需要注意的也是必须使用GMT时间格式.
scheme 属性
<mate scheme="some_text" content="" />定义用于翻译 content 属性值的格式.
HTML 5
HTML 5中不再支持scheme属性,但是新增加了charset属性
如:<meta charset="ISO-8859-1">定义文档的字符编码