Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 768
leeand00 Avatar asked Dec 31 '10 21:12

leeand00


People also ask

How do I make a phone number clickable in HTML?

Href=tel: creates the call link. This tells the browser how to use the number. “Tel: 123-456-7890 “creates the HTML phone number. The number within the quotes is the number it will call.

How do I make a phone number clickable on my iPhone?

In iPhone applications, enter phone numbers in the "tel:1-800-555-1212" format to make them clickable.


1 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:

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

like image 131
Mark B Avatar answered Sep 21 '22 15:09

Mark B