Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Phone Number Link

Featured Replies

Hi all, just wondering if there was a way to make a phone number text a link (on mobile devices).

 

On a site I'm currently working on, there is a phone number located in 2 places on the site - in the header and the footer - the footer text seems to be a link when using an iPhone (is this a default setting on iPhones?) but the header phone number text just appears as text.

 

Is it as simple as making the text a link and giving the href a value of the phone number?

 

Cheers.

Al.

I don't know anything about this since I haven't encountered this problem before. But from my point of view, if it works at the buttom of the page why not just look at the code and see how it works then?

 

but take a look at this link: http://beradrian.wordpress.com/2010/01/15/special-links/

 

I think it will help you solve your problem.

Im sure it will automatically detect if its a phone number if so display it as a clickable link, compare the two numbers together to see if you have formatted them diffrently or 01234 567890 or 01234567890

  • Author

Thanks for the replies guys, the number in the header is in a p tag whereas the number in the footer is in an li tag, that's the only difference.

 

I'll give your solution a go Blue, cheers!

 

Al.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.