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

CSS How to Make a Website CSS: Cascading Style Sheets Style the Basic Elements

CSS: Cascading Style Sheets

Remove the underlines from all the links on the page. challenge task 1 of 3 help please!!

4 Answers

Neil Northrop
Neil Northrop
5,095 Points

Stormy,

In CSS, to remove the underlines from a link is to apply css text-decoration:none; to your selector. Your selector could either be all the link tags or a specific link tag.

Example for all the links would be:

a {
    text-decoration:none;
}

I hope that helps.

Thank you that did the job! :)

I will give you a hint: text-decoratoin: none;

Daniel Gibson
Daniel Gibson
15,452 Points

To remove underlines from links you can use the text-decoration property and set the value to none. Links also have pseudo classes such has a.hover that the property may be applied to. I hope this helps.

How are people supposed to learn if you give them the answers?