Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android/iphone click to call in html

I am creating one HTML mobile website for android & ios device. I know click to call for both.

ANDROID

<a href="tel:2125551212">2125551212</a>

iOs

<a href="callto:2821229627-7877">Live Support</a>

Now, my problem is i have one webpage with click to call link and want that link work for both android / ios

like image 258
Ajay Patel Avatar asked Oct 25 '11 06:10

Ajay Patel


People also ask

How do I make a phone call using HTML?

Adding an HTML Phone Number Call Link to your WebsiteHref=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.


1 Answers

Just use tel: it will work on iOS, android, blackbarry OS, windows and many more. Using this scheme will work on almost all mobile browsers on.

like image 89
rckoenes Avatar answered Sep 23 '22 16:09

rckoenes