HTML--meta标签用法

原创
2017/07/07 18:39
阅读数 54
一、Meta标签中的format-detection属性及含义
 意为:格式检测 或许你会有这样的经历:
当你在制作手机端的页面中,点击了没有加任何链接的格式的数字时,这时手机会进行自动拔号提示操作!

 禁止这一提示方法: 加入meta标签,如:meta name=format-detection

    禁止这一提示方法:
    加入meta标签,如:<meta name="format-detection" content="telephone=no">
    同理,还会有以下相关操作:
    1、禁止跳转邮箱:<meta name="format-detection" content="email=no">
    2、禁止跳转地图:<meta name="format-detection" content="adress=no">
    3、禁止链接高亮:<meta name="msapplication-tap-highlight" content="no">
    4、设置响应式网页必备:<meta name="viewport" content="user-scalable=no,initial-scale=1">
展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部