Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Adding Pages to a Website Build the Contact Page

How do I prevent a telephone number from becoming a Skype number?

On contact page, in html, we are making unordered lists giving contact details. When I go to <li class="phone"><a href="tel:(503)933-8981">(503)933-8981</a></li> a skype symbol appears before both the "tel:phone number" AND before the phone number inside the link brackets. So both instances of the telephone number, if an area code is inserted, a Skype symbol appears. If i remove the area code, the skype symbol disappears. Does anyone know how to prevent a skype link from forming? thanks.

4 Answers

This is not anything you can control. This is Skypes default behaviour when encountering phone numbers. If you would ask someone without Skype installed to look at your website they would not see any Skype icon.

Thanks. Would the phone # link still take them to skype to call me? I would prefer to not have people call me on Skype, I rarely use it.

As far as I know there is no way to avoid this behaviour. This has nothing to do with your code, this only appears because you have installed skype. There might be a workaround somewhere with JavaScript, but you'll have to google for that. Good luck!

Jesper Kristensen
Jesper Kristensen
10,111 Points

To my nowledge you cant. Skype uses "callto:<usename>" for making skype calls. During installation of Skype it ask if the user wants to asosiate tel: with Skype. Default is yes and most users forget to uncheck this, because they overlook it or dont know what it means.

Is it possible to go into skype once installed and uncheck the association box? If so, how do I go about it? Would I have to reinstall Skype to get to the place where i can dissociate my phone number from Skype? Thanks for your help!

The only way to fix this (AFAIK) is to reinstall the program and untick this box.

Fabian Wilson
Fabian Wilson
5,076 Points

Does this happen in all browsers. I have noticed this in browsers that have a Skype plug-in installed.

I don't know if my problems extend to other browsers. I don't like IE, & refuse to use Google Chrome (google collects information on you bigtime when you use chrome). I think I'm gonna follow Fredrik's advice and reinstall Skype so I can uncheck the linkage between my phone # & Skype.

thanks for your input.

Fabian Wilson
Fabian Wilson
5,076 Points

I don't think they are calling you on your Skype account. I think they are calling you from their Skype account if they click on the number. The symbol is just a shortcut to load the number into Skype.