HOME  Subscribe [RSS]  Podcast [RSS]  HTML Tutorials  Podcast Posts  My Design Blog  LinkXchange  CafePress Shop  
Sunday, September 3

Backgrounds

For starters, we need the <BODY></BODY> tags. This is where all your web page info goes, content, images, etc. But, for now, we will focus on the tag itself. Your background color & background image info will go within the opening tag. Let's first focus on the background color.

Here's an example of how the tag will look: <BODY BGCOLOR="#FFFFFF">

Notice the BGCOLOR attibute, that stands for BackGroundCOLOR We're using hexadecimal code here to get our BGCOLOR. In this case, our BGCOLOR is white (#FFFFFF) but, we can make it any color we want. In fact, if your going to use a background image, it's a good idea to make your BGCOLOR the same as the dominating color in your background image, it just looks better that way.

Now, for that background image. This tag atribute is pretty much self-explanatory: <BODY BACKGROUND="image.gif"> After you upload an image & it's stored in your websites directory, the image is given its own URL. Then all you have to do is put the image's URL in where it says image.gif. Cool, huh?

I hope this sheds some light on how to use background colors & background images.

(P.S.)

Here's some great resource sites for web development that I've found:

http://www.htmlgoodies.com

http://www.webreference.com

No comments: