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

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

Posted by: admin November 19, 2017 Leave a comment

Questions:

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

Answers:

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:

http://tools.ietf.org/html/rfc3966

Questions:
Answers:

I found this web page to be incredibly useful and informative on different uris one can use on web pages delivered to phones

http://beradrian.wordpress.com/2010/01/15/special-links/

Questions:
Answers:

You can detect a phone number in iOS with:

<i>web_view.dataDetectorTypes=UIDataDetectorTypePhoneNumber;<i>

Leave a Reply

Your email address will not be published. Required fields are marked *