Prev

Colors

The bgcolor attribute

Note: Again, CSS is preferred to using the bgcolor attribute.
Now that you can change the color text, you may be wondering if you can change the color of the page. You can! To do this you add the bgcolor attribute to the <body> tag you learned about back in Lesson 1.

Try It: Use the bgcolor attribute of the <body> tag to change the color of your page.
The color options for bgcolor are the same as those for the color attribute for font. Go back to the explanation of color on the previous page if you need a reminder.

End of Topic

Prev