Lesson 26 "CSS" problem

Hi Im the same problem of many students, but cant figure that.
`

Result

CSS Lesson

This is the best CSS lesson I ever had.

Google this! ` The problem: Did you remember to set your Link's text-decoration to none;

`h1{
font-family: Verdana, sans-serif;
color: #576d94;
}

p{
font-family: Garamond, serif;
font-size: 18px;
color: #4A4943;
}

img{
height: 100px;
width: 300px;
border: 1px solid #4682b4;
}

a{
text-decoration: none;
color: #cc0000;
}`

In your HTML the Img is not nested inside the a tag.

Hi, thks for the answer, show the same error.

<a href="www.google.com">Google this! <img src="https://www.ostraining.com/cdn/images/oscampus/courses/CSS-part-1.jpg"></img></a>

The img tag is self closing. You do not need , instead just have

Tnks for the answer, just restart the navigator and run ok.

Happy Coding,
harrypotter91

1 Like

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