This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

346 points
53985b968c1cccd3f6002077_456873061
Submitted by
Gabi Kuiper
about 3 years ago

It should work?

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
    <h1>Gabi</h1>
    <p>Ayy</p>
    <img src="http://fc04.deviantart.net/fs71/f/2011/157/e/b/deadpool_pole_dance_by_quere-d3i7542.gif"/>
    </body>
</html>

That's the code currently in my index.html tab.

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

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

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

That is the code in my stylesheet.css tab. What's wrong with it?


1 vote

permalink

Nevermind! Just had to change "image" to "img". :P

346 points
53985b968c1cccd3f6002077_456873061
Submitted by
Gabi Kuiper
about 3 years ago