5/6 adding link help needed


#1

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

div { height: 50px; width: 120px; border-radius: 5px; border-color: #6495ED; background-color: #BCD2EE; margin: auto; text-align: center; }

link { color: #cc0000; text-decoration: none; font-family: Impact; }


5/6 adding a link, need help
#2

Link is a word we use to describe this html element:

<a></a>

in the same way, we use paragraph to describe this html element:

<p></p>

and the css selector then is p, so what you do you think the css selector for link is?


#3

I need help writing any code errors in the field

'm sorry


#4

Your code has many errors...

  • The boilerplate (see here).
  • Incorrect place for the CSS link (should be on the head tag).
  • Incorrect code writing.

#5

@zolated, nice summary.

@giau930132612.mghesh, this code is so messy, it woul take more time to correct problem then starting again. Please reset the exercise, and try again. Check documentation or earlier exercises if you need help with syntax, if you get stuck again, please ask us for help


Help with Design a Button for your Website 5/6 - Adding link - text-decoration!