html meta的format-detection属性
来源:互联网 发布:淘宝商品标广告靠谱吗 编辑:程序博客网 时间:2024/05/26 15:55
format-detection翻译成中文的意思是“格式检测”,顾名思义,它是用来检测html里的一些格式的,那关于meta的format-detection属性主要是有以下几个设置:
<meta name="format-detection" content="telephone=no" /><meta name="format-detection" content="email=no" /><meta name="format-detection" content="adress=no" />或者连着写
<meta name="format-detection" content="telephone=no,email=no,adress=no" />
起作用如下:
1、telephone
你明明写的一串数字没加链接样式,而iPhone会自动把你这个文字加链接样式、并且点击这个数字还会自动拨号!想去掉这个拨号链接该如何操作呢?这时我们的meta又该大显神通了,代码如下:
telephone=no就禁止了把数字转化为拨号链接!
telephone=yes就开启了把数字转化为拨号链接,要开启转化功能,这个meta就不用写了,在默认是情况下就是开启!
2、mail
告诉设备不识别邮箱,点击之后不自动发送
email=no禁止作为邮箱地址!
email=yes就开启了把文字默认为邮箱地址,这个meta就不用写了,在默认是情况下就是开启!
3、adress
adress=no禁止跳转至地图!
adress=yes就开启了点击地址直接跳转至地图的功能,在默认是情况下就是开启!
1 0
- html meta的format-detection属性
- <meta name="format-detection"/> 的用处
- <meta name="format-detection"/> 的用处
- <meta name="format-detection"/> 的用处
- <meta name="format-detection"/>的用途。
- Meta标签中的format-detection属性及含义和移动端的一些事项
- Meta标签中的format-detection属性及含义
- Meta标签中的format-detection属性及含义
- 【H5适配二】Meta标签中的format-detection属性及含义
- Meta标签中的format-detection属性及含义
- Meta标签下format-detection属性及含义
- Meta标签中的format-detection属性及含义
- meta标签中的format-detection属性及含义
- Meta标签中的format-detection属性及含义
- Meta标签中的format-detection属性及含义
- HTML的META属性
- Meta标签中的format-detection
- meta标签中的format-detection
- JSon解析 + 数据模型
- Android.mk简介
- 【Android】android AsyncTask介绍
- win7 64位Ultimate 英文系统中,使用CAJViewer 7.2的方法
- Cocos2d-lua示例(二)登陆界面之editbox替换TextField
- html meta的format-detection属性
- Linux memory performance analysis
- Eslint的使用
- CSS实现一侧宽度自适应,一侧为固定宽度
- hadoop2.7.1安装
- mysql模糊查询
- CocoaPods 的详细安装步骤,使用方法以及安装过程中出现的各种错误总结
- ViewPager+Fragment的懒加载模式
- 电力系统可视化图形建模系统V1.0