![]() |
Note: These effects can now all be achieved using Cascading Style Sheets.
If you want to use a background color on your page, you will need to begin by finding the <body> tag. Once you have found the tag, look for a command after the word body that says bgcolor=”color”. It may look like this:
<body bgcolor=”gray”>
Or the tag may have more commands inside and use hex codes, like this:
<body text=”#000000″ link=”#A6CAF0″ bgcolor=”#808080″>
And of course, the command may not be there at all. If this is the case, add it by placing a space after the word body and then type the command, like this:
<body bgcolor=”gray” text=”#000000″ link=”#A6CAF0″>
Or if you don’t have any other commands, just add it in like this:
<body bgcolor=”gray”>
To change the background color, replace the word gray inside the quote marks with a color name or a color hex code.
So, if you wanted to change the background color to green, you would type:
<body bgcolor=”green”>
Or you could use the hex code for green:
<body bgcolor=”#008000″>
After doing this, your page will have a green background. Beautiful! Now just use any color you like in the command, and add color your pages!
