Linking Telephone Numbers for Mobile Phones
Posted on Wednesday September 24th, 2008
Like many people with shiny new toys, I am thrilled that mobile phones like the iPhone and Blackberry pick up telephone numbers and allow you to call any number you come across on a web page. But what about linking to a number? I've run across several CTAs in my daily work which have a graphic that says 'Call to Order' followed by a phone number within the graphic. How can we make it as simple to call that number without disrupting normal web use?
Apple has designed the iPhone to recognize HTML for a telephone number:
<a href="tel:1-800-1234-567"><img src="###" alt="Call to Order" /></a>
…but unfortunately normal web browsers do not recognize tel: like they recognize http: and cannot make any sense of your link. See error message.
<a href="tel:1-800-1234-567" onclick="return false; " style="cursor: default; "><img src="###" alt="Call to Order" /></a>