<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)條顏色