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小结(前端必看篇)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

H5 meta小结(前端必看篇)