表示設(shè)置寬度為設(shè)備的寬度,默認(rèn)不縮放,不允許用戶(hù)縮放(即禁止縮放),在網(wǎng)頁(yè)加載時(shí)隱藏地址欄與導(dǎo)航欄
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />
是否啟動(dòng)webapp功能,會(huì)刪除默認(rèn)的蘋(píng)果工具欄和菜單欄。
<meta name="apple-mobile-web-app-capable" content="yes" />
當(dāng)啟動(dòng)webapp功能時(shí),顯示手機(jī)信號(hào)、時(shí)間、電池的頂部導(dǎo)航欄的顏色
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
忽略頁(yè)面中的數(shù)字識(shí)別為電話(huà)號(hào)碼
<meta name="format-detection" content="telephone=no, email=no" />
啟用360瀏覽器的極速模式(webkit)
<meta name="renderer" content="webkit">
避免IE使用兼容模式
<meta http-equiv="X-UA-Compatible" content="IE=edge">
針對(duì)手持設(shè)備優(yōu)化,主要是針對(duì)一些老的不識(shí)別viewport的瀏覽器,比如黑莓
<meta name="HandheldFriendly" content="true">
微軟的老式瀏覽器
<metaname="MobileOptimized" content="320">
uc強(qiáng)制豎屏
<meta name="screen-orientation" content="portrait">
QQ強(qiáng)制豎屏
<meta name="x5-orientation"content="portrait">
UC強(qiáng)制全屏
<meta name="full-screen" content="yes">
QQ強(qiáng)制全屏
<meta name="x5-fullscreen" content="true">
UC應(yīng)用模式
<metaname="browsermode" content="application">
QQ應(yīng)用模式
<metaname="x5-page-mode" content="app">
windows phone 點(diǎn)擊無(wú)高光
<metaname="msapplication-tap-highlight" content="no">