前端必看H5 meta小结

互联网 17-12-12
元素可提供有关页面的元信息(meta-information),比如针对搜索引擎和更新频度的描述和关键词。

<meta> 标签位于文档的头部,不包含任何内容。<meta> 标签的属性定义了与文档相关联的名称/值对。

meta是html语言head区的一个辅助性标签。本文就和大家分享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="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小结的详细内容,更多内容请关注技术你好其它相关文章!

来源链接:
免责声明:
1.资讯内容不构成投资建议,投资者应独立决策并自行承担风险
2.本文版权归属原作所有,仅代表作者本人观点,不代表本站的观点或立场
标签: 前端
上一篇:php获取远程图片并下载保存到本地的方法分析 下一篇:如何解决HTML5微信播放全屏问题

相关资讯