如下所示:
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,address=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-touch-fullscreen" content="yes">
"Microsoft YaHei","Arial","Helvetica"//字體
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,address=no">
<meta name="apple-mobile-web-app-capable" content="yes">
//刪除默認(rèn)的蘋果工具欄和菜單欄。
<meta name="apple-mobile-web-app-status-bar-style" content="black">
//控制狀態(tài)欄顯示樣式
<meta name="apple-touch-fullscreen" content="yes">
//全屏顯示
以上這篇H5 meta小結(jié)(前端必看篇)就是小編分享給大家的全部內(nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。