移動端meta整理

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
如果支持Google Chrome Frame:GCF,則使用GCF渲染;
如果系統(tǒng)安裝ie8或以上版本,則使用最高版本ie渲染;
否則,這個設(shè)定可以忽略。

若頁面需默認(rèn)用極速核,增加標(biāo)簽:<meta name="renderer" content="webkit">

定義關(guān)鍵詞:<meta name="keywords" content="">
keywords不寫搜索引擎會根據(jù)你頁面內(nèi)容的信息和其他網(wǎng)站給你那個頁面鏈接的錨文本自動給你分配一些關(guān)鍵詞。這個建議寫上,寫了對搜索體驗更好!

<meta name="description" content="">//定義描述
<meta name="x5-page-mode" content="app">//設(shè)置屏幕模式
<meta name="x5-orientation" content="portrait">//設(shè)置屏幕方向
<meta name="layoutmode" content="standard"> //設(shè)置排版
<meta name="mobile-web-app-capable" content="yes">//刪除默認(rèn)的工具欄和菜單欄
<meta name="browsermode" content="application">//使用了application這種應(yīng)用模式后,頁面講默認(rèn)全屏,禁止長按菜單,禁止收拾,標(biāo)準(zhǔn)排版,以及強制圖片顯示。
<meta name="screen-orientation" content="portrait">//強制豎屏
<meta name="format-detection" content="telephone=no"/>//可將telephone=no,則iphone手機號碼不被顯示為撥號鏈接
<meta name="apple-mobile-web-app-title" content="標(biāo)題">//添加到主屏?xí)r的標(biāo)題
<meta name="apple-mobile-web-app-capable" content="yes" />//是否啟用 WebAPP 全屏模式
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> 狀態(tài)條顏色

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

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

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