Adding a background color to your page

Lesson 5

This is done by adding a statement to your <body> tag.

Select the color that you would like to use for your background.

Do this the same way you selected the color for your text.

It's advisable to use a soft, light color as your text will be in it and you will have difficulty reading your text if the background is dark.

For this page I have used a light pink. The color code is #FFDDFF

The statement that I will add to my body tag is bgcolor=#FFDDFF

so my body tag will now look like this

<body bgcolor=#FFDDFF>

save and refresh.

If you now have a cool colored background, DANCE.

Click HERE to see how to add a background image rather than a solid color for your background