5.4 size and borders i am really stuck


#1


5.4



in stylesheet.css

h1 {
    font-family:Verdana,sans-serif;
    color:#576D94
}
p {
    font-size:18px;
    color:#4A4943;
    font-family:Garamond,serif;
    {
        
img { height: 100 px;
width: 300 px;
border: 1px solid #4682b4;

in index.html

<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
		<link type="text/css"rel="stylesheet"href="stylesheet.css"/>
	</head>
	</body>
	<h1>Hello i am a coding</h1>
	<p>ben loves to code as it is fun and enjoyable</p>
	<img src="http://bit.ly/NnVbxt"/>
	</body>
</html>


#2

missing closing bracket for img
and in p element at the end you have { instead of }


#3

thanks that really helped @zainabrawat


#4

i am stuck.
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
}


#5

What is your error ? also paste in your HTML


#6

A post was split to a new topic: 5. size and borders


#7

A post was split to a new topic: 5. size and borders - Oops try again


#8

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