苹果手机浏览器safari不显示手机号问题

  • 苹果手机浏览器,检测到手机号时会自动设置其样式,有时候会影响效果
  • head标签中加上以下代码即可

    <meta name="format-detection" content="telephone=no" />

  • 若还想要点击拨号的话,可在a标签href中加tell:即可

    <a href="tel:电话号码"></a>

猜你喜欢

转载自blog.csdn.net/pintu274111451/article/details/80054593
今日推荐