Rou*_*ica 6 html format specifications detection meta-tags
我找不到以下标准的W3或WHAT-WG(甚至非标准第三方)规范:
<meta name="format-detection">
Run Code Online (Sandbox Code Playgroud)
我有两个原则问题。
问题1:元标记中可以引用哪些格式?format-detection
最常见的是,第三方参考文献引用telephone.
偶尔email还是date被引用。
更罕见的是,address被引用。
一个来源 ( https://www.goodemailcode.com/email-code/template.html ) 引用了这一点url。
这给出了以下格式列表:
telephoneemaildateaddressurl这是完整的格式列表吗?还有其他人吗?
问题 2:必须单独引用每种格式,还是可以在单个元标记中一起引用任意数量的格式?
即问,是否需要声明:
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="address=no">
<meta name="format-detection" content="url=no">
Run Code Online (Sandbox Code Playgroud)
或者这是完全可以接受的:
<meta name="format-detection" content="telephone=no, email=no, date=no, address=no, url=no">
Run Code Online (Sandbox Code Playgroud)
如果format-detection不是公认的标准,我非常乐意参考非标准规范(或博客文章),只要该文档具有一定的权威性并且不仅仅是第三方的观察或评论。