Background color - not sure where i m going wrong


#1



<!DOCTYPE html>
<html>
	<head>
		<title>Sexy background color!</title>
	</head>
	<body style="background-color: brown"
		<h3>Favorite Football Teams</h3>
			<ol style="background-color:yellow"
				<li>The Hawthorn Football Club</li>	
				<li>San Franscisco 49ers</li>
				<li>Barcelona FC</li>
			</ol>			
	</body>
</html>
not able to understand where am i m going wrong...


#2

Missing > after brown"

Same with ol tag

Should look like this:

<body style="background-color: brown">

#3






	<h3>Favorite Football Teams</h3>
		<ol p style="background-color: yellow;"></p>
			<li>The Hawthorn Football Club</li>	
			<li>San Franscisco 49ers</li>
			<li>Barcelona FC</li>
		</ol>			
</body>

I think I have the same problem I don't see what I did wrong in the code


#4

If you styling an ordered list then you don't put p in it, it should be like this:

<ol style="background-color: yellow;">

p is for paragraph


#5

Thanks zainabrawat for the heads up