Forum Moderators: open
Call us at 1-555-555-1234
<a href="tel://1-555-555-1234">Call us at 1-555-555-1234</a>
<a href="tel:+12345678901"> <a href="tel:+1800nnnnnnn"> Mobile devices have many hardware features that desktop computers don’t. The two most obvious are:
Camera: You’ll be hard-pressed to buy a phone that doesn’t have a built-in camera these days and we are beginning to see APIs to allow web applications to interface with such devices.
Phone: Let’s not forget that the primary purpose of a mobile phone is to call people! This can be smoothly integrated into your website by using the little known tel: protocol. Just like you use a mailto: to link to an email address, you use tel: to link to a phone number. When you click the tel: link it causes the phone to dial
<code><a href="tel:5121234567">Phone 5121234567 to book a table</a></code>
Note the inclusion of the phone number in the link text as well — while this may seem a little repetitious, bear in mind that some browsing devices won’t support the tel: protocol, such as our old friend the desktop computer.
What about adding a help message on hover?
Corollary worry: If you've got your phone number in plain sight on the page, will this increase junk phone calls? Or do those just not happen any more anyway? (Don't know if it's because someone has started enforcing the Do Not Call registry or just because humans, even at call centers in India, cost more than e-mail.)