Choose a link to get started:



ALL NEW!!!

Scrolling Marquees


The Basics

The Basics
Manipulating Text
Images
Backgrounds
Links


More Advanced Topics

The <HEAD> Tag
Tables
Forms
Frames
Lists


Advanced Topics

Image Maps
CSS - Part 1
CSS - Part 2
CSS - Part 3
CSS - Part 4


Additional Topics

XML Tag Formatting
XHTML - Part 1
XHTML - Part 2

Backgrounds

        So far, the background color of all of our web pages was white. Now, we will discuss how to change the background color, and even make the background an image! Now we will dig deeper into one of the most important tags in HTML, the <BODY> tag.

        Our first topic will be background colors. They are rather easy to manipulate. There are several ways to do this, but the only one we will be concerned with now is using the BGCOLOR attribute of the <BODY> tag. This is the simplest way of manipulating the background color. To use, place the attribute inside of the <BODY> tag. Add an equals sign, and place the desired color inside of quotation marks. To see background colors in action, click here. The script for the yellow background of that page was quite simple :

<BODY BGCOLOR="yellow">


however, one can also use hex or the rgb method of color instead of the color name if you wish.



        Next we will discuss backgrounds images. To input the background onto the page, use the following script :

<BODY BACKGROUND="bgimage.gif">


         Be careful to use images that tile, or duplicate both across and down well to create a background that looks appealing. Otherwise, you can end up in disaster.



        Now we move into the final tutorial of the basic set. This tutorial completes your basic arsenal of HTML knowledge. Good Luck in the links tutorial.