<meta> 标签位于文档的头部,不包含任何内容。<meta> 标签的属性定义了与文档相关联的名称/值对。
meta是ht ML 语言head区的一个辅助性标签。本文就和大家分享H5 meta小结(前端必看篇)。小编 觉得 挺不错的,现在就分享给大家,也给大家做个参考希望能帮助到大家。
如下所示:
<meta n am e="viewport" content="width=device-width,in IT ial -s cale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="format- detect ion" content="telephone=no,em ai l=no,address=no">
<meta name="apple- mobile -web-app-capable" content="yes">
<meta name="apple-mobile-web-app- stat us-bar-style" content="black">
<meta name="apple -t ouch-fullscreen" content="yes">
"Microsoft YaH ei ","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">
//全屏显示
相关推荐:
HTML5头部 meta介绍、
常见meta和link标签用法
html手机网站需要加的那些meta标签
以上就是前端必看H5 meta小结的详细内容,更多请关注其它相关 文章 !
总结
以上是 为你收集整理的 前端必看H5 meta小结 全部内容,希望文章能够帮你解决 前端必看H5 meta小结 所遇到的问题。
如果觉得 网站内容还不错, 推荐好友。