How do I make my phone number in to a smart phone clickable link?  I know how to change the phone number on my site but I dont know how to make it into a link so smart phones can simply click on it.

I'm using 10.0
in General by (330 points)

2 Answers

0 votes

Here is the HTML for it :  
<a href="tel:1-123-456-7890">1-123-456-7890</a>

 

Thank you,
Jan
Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
------------------------------------------------------------------------------------------------------
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
  * Searching Filtering, Single Signons, Reviews Ratings, Reports, Integrations
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
  * Auto + Aftermarket Parts solution
 Unlimited Custom Development : http://www.compunix.us/t-unlimited-custom-development.aspx
  * Unlimited with Quick turn-arounds!
------------------------------------------------------------------------------------------------------

 

by (6.9k points)
0 votes

Hi Fuhrman,

  • Your website uses HTML to render website to users' smart phone (browser)
  • HTML uses an ANCHOR TAG to render a clickable link
  • ANCHOR TAG uses attribute HREF to reference a resource on internet (a website page, phone/tel, email, etc.)

So, you will need to change the phone number to an ANCHOR TAG, using [tel] as the resource type in HREF attribute.

So, 123-45678 will become <a HREF="tel:123-45678">123-45678</a>

Happy to help.

Amit

(witzeek@gmail.com)

by (160 points)
...