meta
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <meta name="author" content="GaryWang">
<meta name="keywords" content="a,b,c" />
<meta name="description" content="" />
<meta name="robots" content="nofollow">
<link rel="icon" type="image/png" href="http://www.baidu.com/images/favicon.png"> <meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="http://www.baidu.com/images/favicon.png">
<link rel="apple-touch-icon-precomposed" href="http://www.baidu.com/images/favicon.png"> <meta name="msapplication-TileImage" content="http://www.baidu.com/images/favicon.png"> <meta name="msapplication-TileColor" content="#62a8ea">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-title" content="Gary">
|
移动端
1 2 3 4 5 6
| <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="email=no">
|
PC端
可是这里有一个chrome,难道IE也可以模拟chrome? 事实上,情况是谷歌做了个Google Chrome Frame(谷歌内嵌浏览器框架GCF)。这个插件可以让用户的IE浏览器外不变,但用户在浏览网页时,实际上使用的是Google Chrome浏览器内核,而且支持IE6、7、8等多个版本的IE浏览器。
1 2 3 4
| <meta charset="UTF-8">
<meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
清除缓存
1 2 3 4 5 6
| <meta http-equiv="pragram" content="no-cache">
<meta http-equiv="cache-control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="0">
|
//