meta的使用
一、关键词
1 <meta name="keywords" content="value" />
二、跳转页面
1 <meta http-equiv="refresh" content="0; url=http://www.xxx.com/" />
content里的参数为"X秒后跳转; url=链接"
三、规定文档字符集
1 <meta http-equiv="countent-type" content="text/html;charset=utf-8" /><!-- html4.01 --> 2 <meta charset="utf-8" /><!-- html5 -->
在HTML5中meta多了个charset属性,直接就可以定义字符编码。
浙公网安备 33010602011771号