CSS Help


I was adding some attributes to my div on CSS in this current lesson.

div {
height: 50px;
width: 120px;
border-color: #6495ED;
background-color: #BCD2EE;
border-style: solid;
border-width: 3px;
border-radius: 5px;
margin: auto;
text-align: center;
text-decoration: none;
color: maroon;

It says to add whatever color/font I want so I did and it also says set text-decoration to none which I did but it is saying I didnt.. please help

Set your link's text-decoration to none. Give it whatever color or font-family you like!


you set your divs text-decoration to none, not your link. Add another css selector for your link, take a second to think what the css selector should be (what we describe with the word link)


so for the link selector would it be?

link {


sorta like the other ones would be:

div {


p {




For a link it would be

a {



the answer to that question is yes, to this question:

is no, the css selector is wrong, don't forget the word link in this case is used to describe this html element:


in the same sense/fashion, we use the word paragraph to describe this html element:


and the css selector for a paragraph is p. Don't please don't this as a insult, i am trying to let you do most of the thinking, i find it gives a person a better understanding rather then just being provided with the answer

So, what do you think the css selector for link should be?


oh o_O okay thanks. i would have never guessed this xd