H5 meta小结(前端必看篇)
如下所示:
<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">
//删除默认的苹果工具栏和菜单栏。
<meta name="apple-mobile-web-app-status-bar-style" content="black">
//控制状态栏显示样式
<meta name="apple-touch-fullscreen" content="yes">
//全屏显示
以上这篇h5 meta小结(前端必看篇)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。
上一篇: 浅谈HTML5 & CSS3的新交互特性