Dressing Up the Background
There are two ways to make the background look better or different from the standard grey.
First, you can set the background color by specifying how much red, green, and blue should be mixed to create the color. This is done by specifying the number within the <BODY> tag like this:
<BODY BGCOLOR="FFFFFF">
The number is expressed in hexadecimal and can range from 00 to FF (0 to 255).
The pairs of digit represent red, green, and blue in that order. So, FFFFFF is white, 000000 is black, FF0000 is red, 00FF00 is green, and 0000FF is blue. From there you can experiment with other combinations.
Here are some examples:
- Look at this page with the background color FF0000.
- Now look at 00FF00.
- And again with F0F0FF.
Second, you can use a GIF or JPEG image as the backdrop. This image will be tiled to fill in all the needed space.
The syntax for this is
<BODY BACKGROUND="t_whitem.gif">
You can use an image in your current directory, reference another directory, or use a URL to reference an image anywhere on the web. Remember, if you reference someone else's image, it might not be there as long as your own web page.
Take a look at this page with a tiled background.