Is there a way to make a phone number clickable on an iphone or android phone to make a call in HTML?

91,090

Something like this should work:

<a href="tel:+1-800-555-5555">Call 1-800-555-5555</a>

More info:

http://en.wikipedia.org/wiki/URI_scheme#tel:

https://www.rfc-editor.org/rfc/rfc3966

Share:
91,090

Related videos on Youtube

Jamie Deakin
Author by

Jamie Deakin

Projects jobdb - Creator of Open Source Job Search Document Creator/Tracker http://i9.photobucket.com/albums/a58/Maskkkk/c64nMe.jpg Received my first computer (see above) at the age of 3, wrote my first program at the age of 7. Been hooked on programming ever since.

Updated on July 05, 2022

Comments

  • Jamie Deakin
    Jamie Deakin almost 2 years

    Is it possible to make a phone number clickable in HTML so that when a user clicks on the number it is called?

    • techi.services
      techi.services over 13 years
      Are you doing the HTML markup or are you trying to use a third party website and extract the phone numbers?
    • Jamie Deakin
      Jamie Deakin over 13 years
      @sugarynugs Doing HTML markup.
    • techi.services
      techi.services over 13 years
      have you tried mbairds answer? that looks like what you want but whether it makes Android dial the number...
    • Dan Breslau
      Dan Breslau over 13 years
      Sorry to have been so dense. I didn't realize that your question was about generating the HTML, not about displaying it on the device. I'm going to delete my answer.
  • Jamie Deakin
    Jamie Deakin over 13 years
    Does this work on devices other than Android too? Such as BlackBerry and iPhone? (using each of their default browsers of course) And additionally what about on a browser like Opera Mini or Opera Mobile?
  • Mark B
    Mark B over 13 years
    Yes, nothing about that is Android specific. I've tested it on iOS as well as Android.