25 size and border. need help


#1


It keeps saying I am wrong.

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

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

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


#2

Can you post your index.html code for this lesson??

You're probably just missing the first step which asks for you to add an < img > tag to your index.html document


#3





Result

<body>
    <h1>Hello World!</h1>
    <p>This is a paragraph.</p>
    <img src="http://bit.ly/NnVbxt" />
</body>


#4

this line should have a semi-colon ";"
color: #576D94;


#5

this did the same for me

<a href="google.com">
<img src="http://bit.ly/NnVbxt"/>
</a>

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


#6

you should close the tag before opening the <mg like this



#7

sorry the code excuted .. i was saying you should close the "a" tag before opening "img"
like this " a href="google.com"" and then "img src="whatver"


#8

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

this is the wrate


#9

it sounds right.. can you please post a picture of your index :slight_smile:


#10

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