Questions tagged [tel]

'tel' is a URI scheme specification for telephone numbers, which describes resources for telephone numbers linked to within documents.

The tel URI scheme can be used to create a link to a telephone number on the web, which can be implemented by prepending the value tel: to a telephone number, and then placing the whole value into an a element's href attribute, like so:

<a href="tel:867-5309">Call Me</a>

Do not use this tag if your question refers to telephone numbers in general, such as using regular expressions to match a telephone number's format, or if you are referring to the tel attribute of an input element (use instead).

References/Resources

254 questions
429
votes
5 answers

href="tel:" and mobile numbers

If I use tel: I should write the international phone code, like that. 61709 So far, so good, but I can't find information on how to write a cell phone number in an "international" way, if there is one.
Sebastian Starke
  • 5,198
  • 3
  • 24
  • 35
88
votes
4 answers

URL Scheme for Phone Call

Much like the "mailto" URL prefix launches the user's default mail program and starts a new email with specified address, is there a similar URL scheme that would initiate a phone call? Perhaps "phone," "call," or "sip"? Incidentally, I'm targeting…
Jason Marcell
  • 2,785
  • 5
  • 28
  • 41
55
votes
8 answers

How do I include extensions in the tel: URI?

I currently have a webpage serving up phone numbers, some of these phone numbers have extensions so I have written the HTML like this: +44-1234-56788 / +44-1234-56799
Jarede
  • 3,310
  • 4
  • 44
  • 68
28
votes
6 answers

Sending pause to dialer

In a similar vein to Sending Pause and DTMF input in android, I'm trying to send the pause character "," to the dialer. This works on HTC Sense phones and even on the Xoom, but not on "stock experience" phones like the Nexus One or T-Mobile G2 (and…
pforhan
  • 807
  • 8
  • 12
27
votes
21 answers

How to disable link to phone number when on Desktop?

How can I add a phone number to a website that is clickable but hides the link when I'm browsing on a website that doesn't support touch. I could use Modernizr to set it up although. I don't know how.

jaycodez
  • 1,867
  • 6
  • 21
  • 28
26
votes
6 answers

Is there a "map:" URI prefix to launch map application? (like mailto: or tel:)

Is there such prefix for launching map application on phones, Toto's home like can do Toto's mail
user1125394
18
votes
3 answers

What's a reliable method for setting up telephone links for mobile browsers?

I'm working on a quick page intended for mobile browsers. While there is little consistency between browsers on cell phones (the target audience), I have a phone number that I would like to be as easy as possible to dial from the users phone. A…
Surreal Dreams
  • 26,055
  • 3
  • 46
  • 61
17
votes
3 answers

How do I detect availability of tel: uri scheme in a web app?

I'm looking to use the tel: uri scheme (rfc3966) to make phone numbers linkable on mobile devices in a web application, but I'd prefer to not link them on devices that can't handle the tel: scheme - desktops, or mobile devices without phone…
Korny
  • 1,988
  • 1
  • 18
  • 16
16
votes
1 answer

Detecting HTML click-to-call support in Javascript

There are two ways to have click-to-call links in HTML Call Apple Customer Support at 1-800-275-2273. TEL style (Apple) How one can detect which…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
13
votes
4 answers

Clickable tel protocol a tag in firefox

I have a pretty standard a tag for a telephone number. It works in everything except Firefox. I thought the tel protocol was standard - is there a workaround I am unaware of? (800) 123-4567 Firefox error…
snakesNbronies
  • 3,619
  • 9
  • 44
  • 73
12
votes
1 answer

Is there a way to determine if browser can handle telephone links

I've read through other SO posts, but everyone seems to check the user agent, if its mobile, add href="tel:1234567890" else omit tel:. But what if I have Skype, Google Voice, or another application that CAN handle the links. Is there any way to…
MisterIsaak
  • 3,882
  • 6
  • 32
  • 55
12
votes
3 answers

Trigger phone call with Javascript

I would like to trigger a tel:12345 HREF using only Javascript, not with an anchor. I simply want to grab the value of an input field and use JS to prompt the user to call the number typed in. My trigger will be a button located next to the…
Jody Heavener
  • 2,704
  • 5
  • 41
  • 70
10
votes
2 answers

iPhone Safari making a phone call

Is there something I can put in the code for an HTML page I am making for Safari on iPhone to make a call when clicked on? Something similar to: click to call
Amarsh
  • 11,214
  • 18
  • 53
  • 78
9
votes
2 answers

Special links (tel:, mailto:, sms:) on PWA

I am developing a website that uses PWA to create a native-style App on mobile phones. The issue I'm facing is that when the app has been added to the homescreen, links that start with tel:, mailto: or sms:, do not work anymore. In the normal chrome…
hash12
  • 181
  • 1
  • 9
9
votes
1 answer

Detect when user press Cancel - telprompt - objective-c

I have seen this question before but without any real answer. I am using the following code to start a phone call in objective-c. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt:1234567890"]] This code opens a dialog…
Henrik Bengtsson
  • 344
  • 4
  • 17
1
2 3
16 17