前端必看H5 meta小结

前端必看H5 meta小结,第1张

前端必看H5 meta小结 <meta> 元素可提供有关页面的元信息(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="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小结的详细内容,

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/695632.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-22
下一篇 2022-04-22

发表评论

登录后才能评论

评论列表(0条)

保存