適應屏幕寬度
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
telephone=no就禁止了把數字轉化為撥號鏈接!
<meta name=”format-detection” content=”telephone=no”>
刪除默認的蘋果工具欄和菜單欄。content有兩個值”yes”和”no”,當我們需要顯示工具欄和菜單欄時,這個行meta就不用加了,默認就是顯示。
<meta name=”apple-mobile-web-app-capable” content=”yes”>
Meta 之 apple-mobile-web-app-status-bar-style (作用為控制狀態欄顯示樣式)
<meta name=”apple-mobile-web-app-status-bar-style” content=”default” />
<meta name=”apple-mobile-web-app-status-bar-style” content=”black” />
<meta name=”apple-mobile-web-app-status-bar-style” content=”black-translucent” />
uc強制豎屏
<meta name="screen-orientation" content="portrait">
QQ強制豎屏
<meta name="x5-orientation" content="portrait">
UC強制全屏
<meta name="full-screen" content="yes">
QQ強制全屏
<meta name="x5-fullscreen" content="true">
UC應用模式
<meta name="browsermode" content="application">
QQ應用模式
<meta name="x5-page-mode" content="app">
IOS啟用 WebApp 全屏模式
<meta name="apple-mobile-web-app-capable" content="yes">
IOS全屏模式下隱藏狀態欄/設置狀態欄顏色 content的值為default | black | black-translucent
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
IOS添加到主屏后的標題
<meta name="apple-mobile-web-app-title" content="標題">
IOS添加智能 App 廣告條 Smart App Banner
<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
去除iphone 識別數字為號碼
<meta name="format-detection" content="telephone=no">
不識別郵箱
<meta name="format-detection" content="email=no">
禁止跳轉至地圖
<meta name="format-detection" content="adress=no">
可以連寫
<meta name="format-detection" content="telephone=no,email=no,adress=no">