Lesson 13: Background Colors


Return to Lesson 12

Continue on with Lesson 14


You can change the background color in your page by adding to the <BODY> statement <BODY BGCOLOR=#xxxxxx> The X's represent the code for the specific color. These codes can be found in the Color Codes File at the end of this tutorial. The 6 digit code is really three 2 digit codes telling the computer how much red, green or blue is needed to make the specified color. For example: <BODY BGCOLOR=#000000> This will put a black background on the page. <BODY BGCOLOR=#FFFFFF> This will put a white background on the page. Assignment 13: Pull up your webpage and experiment with changing the background to various colors. Be sure to change it to both black and white. What happens to the text when you use certain colors? end of lesson