移動(dòng)端h5頁(yè)面meta標(biāo)簽設(shè)置

<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> // 刪除蘋(píng)果默認(rèn)的工具欄和菜單欄
<meta name="apple-mobile-web-app-status-bar-style" content="black"/> // 設(shè)置蘋(píng)果工具欄顏色
<meta name="format-detection" content="telephone=no, email=no"/> // 忽略頁(yè)面中的數(shù)字識(shí)別為電話,忽略email識(shí)別
// 啟用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">
// 微軟的老式瀏覽器
<meta name="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)用模式
<meta name="browsermode" content="application">
// QQ應(yīng)用模式
<meta name="x5-page-mode" content="app">
// windows phone 點(diǎn)擊無(wú)高光
<meta name="msapplication-tap-highlight" content="no">

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容