Css: an overview wont accept my text-decoration as none



< error message :Oops, try again. Did you remember to set your link's text-decoration to none;? >


h1 {
    font-family: Verdana, sans-serif;
    color: #576D94;
p {
    font-size: 18px;
    font-family: Garamond, serif;
img {
    height: 100px;
    border: 1px solid #4682b4;
link {
    color: #cc0000;
    text-decoration: none;


Instead of link write: a


@mohamadbahaa already gave the answer, but didn't explain why. Link is a word we use to describe this html element:


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


yet the css selector for paragraph is p (the opening tag (<p>) without < and >), same goes for the link (opening tag: <a>, css selector: a)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.