You've seen 'em used: they can make a page stand out in a field, or they can drown the page in glitz. Well, now you too can break into the wonderful world of backgrounds.
First, some background background:
There are several parts to the background HTML. They are:
However, the BGCOLOR tag is good for some other things too. If Netscape can't find your background file or if the user has auto load images turned off, it will use the color instead. So, you should try to pick the predominate color of the image as the color.
Also, Netscape on Windows will use the background color as table borders (Macintosh and X actually use the background pattern, not a solid color). You'll also notice that the page background fills with this color while Netscape is waiting for the image to arrive (just think of the brain damage you can cause with a good neon color!)
Finally, if your background image is a transparent GIF (yup, you can do that), the BGCOLOR color determines the color "behind" the GIF. While that's moderately interesting, you can produce the same effect with a paint can in Photoshop.
Here is an example of the HTML:
<BODY BACKGROUND="./foo.gif" BGCOLOR="#000000" TEXT="#ffffff" LINK="#00ffff" VLINK="#ffff00">Now there is one important thing about backgrounds that you should understand: the document will not begin layout at all until the background file has been completely downloaded. This means that the user will be staring at: nothing! So, what do you do? Keep your backgrounds very very small, so they load quickly. Here are some small backgrounds (all less than 850 bytes).
So what are these numbers, anyway, this #FF00FF stuff? Well, it's the hexidecimal value of Red, Green, and Blue for that color. If you don't have a handy tool that will do it for you, check out the following sites:
If you're dying for some real backrounds to work with, try: