Home  >  Q&A  >  body text

javascript - Mobile phone number on h5 is not recognized by default

I checked information on the Internet and said that mobile browsers support mobile phone number recognition by default, but the mobile phone number is not recognized on my h5 interface. What should I do?

高洛峰高洛峰2696 days ago1002

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-06-24 09:45:23

    Only WeChat will automatically recognize it. It seems that ordinary browsers still need to write code, such as

    <a href="tel:13761414143">号码</a>

    reply
    0
  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-24 09:45:23

    <meta name="format-detection" content="telephone=no">Did you write this? , it will be recognized by default if you don’t add this

    reply
    0
  • 世界只因有你

    世界只因有你2017-06-24 09:45:23

    JS regular matching is in the mobile phone number format. If so, add the tel attribute

    reply
    0
  • Cancelreply