<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
这句话表示要IE走最高级的Edge渲染,如果有Chrome用chrome渲染
<meta name="render" content="webkit">
如果是双核浏览器,那就用webkit渲染
<link rel="dns-prefetch" href="//static.360buyimg.com">
DNS预解析,使加载图片的速度快
<meta name="keywords" content="your tags"/>
页面关键词
<meta name="description" content="150 words"/>
页面描述搜索引擎索引方式
<meta name="robots" content="index,follow" />
页面重定向和刷新
<meta http-equiv="refresh" content="0;url="/>
其他
<meta name="author" content="author name"/>
<meta name="google" content="author nameindex,follow"/>
<meta name="googlebot" content="index,follow"/>
<meta name="verify" content="index,follow"/>
移动设备
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
<
!–width=device-width
会导致 iPhone 5 添加到主屏后以 WebApp 全屏模式打开页面时出现黑边 –>
WebApp全屏模式
<meta name="apple-mobile-web-app-capable" content="yes">
隐藏状态栏/设置状态栏颜色
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
添加到主屏后的标题
<meta name="apple-mobile-web-app-title" content="标题">
忽略数字自动识别为电话号码
<meta name="telephone=no" name="format-detection"/>
忽略识别邮箱
<meta content="email=no" name="format-detection">
申明编码
<meta charset='utf-8'/>
优先使用 IE 最新版本和 Chrome
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="X-UA-Compatible" content="IE=6" >
<meta http-equiv="X-UA-Compatible" content="IE=7" >
<meta http-equiv="X-UA-Compatible" content="IE=8" >
禁止浏览器从本地计算机的缓存中访问页面内容
<meta http-equiv="Pragma" content="no-cache">
浏览器不会自动调整文件的大小,也就是说是固定大小,不会随着浏览器拉伸缩放。
<meta name="MobileOptimized" content="240"/>