【发布时间】:2011-10-12 14:37:18
【问题描述】:
我正在移动优化一个带有媒体查询的网站。在没有任何额外标记的情况下,电话号码似乎可以在 iphone 和 android 上被识别并成为“可点击”,但我的 windows 手机模拟器只能识别其中一个号码的 2nd 1/2。
此方法不适用于opera mobile:
<a href="tel:1234">1234</a>
http://developer.apple.com/library/safari/#codinghowtos/Mobile/UserExperience/_index.html
此方法使链接在桌面浏览器中可点击,即使浏览器不知道如何处理数字:
<a href=”#” tel=”1234”>1234</a>
http://www.wpromote.com/blog/google/optimizing-your-web-site-for-mobile-3-easy-tips/
那么,最好的解决方案或权衡电话号码的标记是什么?谢谢
【问题讨论】:
标签: mobile microformats