Background color


Html II - Background Color

Oops, try again. Make sure you set the body's background-color to brown.

Note: It is showing up as brown on my screen and when I type in other colors it changes to those as well - also the other piece to create the yellow background is working fine

	<body style=background-color:brown>.


Hi you should put background-color:brown around " "


Thank you! So sometimes the "" and sometimes not -huh? :slight_smile:


you should always put the " " when you put style inside a tag

<body style ="propriety:value;"><body>

you could read more about it here


In the lessons you should always use "" around style property's + values, the latest html5 standards allow you not to do this, but you really see this in the real world (older browser support)