的作用">
您现在的位置:首页 > 博客 > Javascript > 正文
<meta name="format-detection" content="telephone=no"/>的作用
http://www.bbnsc.com/      2022/6/17 14:58:49      来源:贝恩斯网络·技术博客      点击:

当该 HTML 页面在手机上浏览时,该标签用于指定是否将网页内容中的手机号码显示为拨号的超链接。


比如:


在 iPhone 上默认值是:


<meta name="format-detection" content="telephone=yes"/>


如果你不希望手机自动将网页中的电话号码显示为拨号的超链接,那么可以这样写:


<meta name="format-detection" content="telephone=no"/>


viewport 控制手机全屏


<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">

————————————————

版权声明:本文为CSDN博主「飞鸿酱」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/weixin_38465623/article/details/80715436


发表评论(0)
姓名 *
评论内容 *
验证码 *图片看不清?点击重新得到验证码