iPhone会自动把连串的数字加链接样式、并且点击这个数字还会自动拨号!想去掉这个拨号链接该如何操作呢?
format-detection翻译成中文的意思是“格式检测”,顾名思义,它是用来检测html里的一些格式的,那关于meta的format-detection属性主要是有以下几个设置:
1.1. meta name=”format-detection” content=”telephone=no” telephone : 主要作用是是否设置自动将你的数字转化为拨号连接 telephone=no 禁止把数字转化为拨号链接 telephone=yes 开启把数字转化为拨号链接,默认开启
1.2. meta name=”format-detection” content=”email=no” email : 告诉设备不识别邮箱,点击之后不自动发送 email=no 禁止作为邮箱地址 email=yes 开启把文字默认为邮箱地址,默认情况开启
1.3. meta name=”format-detection” content=”address=no” address: address=no 禁止跳转至地图 address=yes 开启点击地址直接跳转至地图的功能, 默认开启