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小结(前端必看篇)就是小编分享给大家的悉数内容了,盼望能给大家一个参考,也盼望大家多多支持图趣网。
本文地址:http://www.tuquu.com/tutorial/wd3357.html