HTML Reference Guide

Tag Index| Content List| HTML FAQ



Every HTML document must contain one <BODY> and one </BODY> to instruct browsers where the page begins and ends. Everything between these tags will appear in your browser as opposed to the document information in the <HEAD> tags.


text - defines the color of text on the webpage (normally shown in black). Note that you can change the color of individual segments of text by using the FONT tag.

link - sets the color of links appearing on the page (these will normally appear in blue if you do not specify an alternative).

alink - sets an alternative color (other than blue) that should be used for links.

vlink - specifies the color that should be used for visited links (normally a dark magenta).

bgcolor - controlls the background color of the page. When the bgcolor attribute is mixed with background, the color is used as a 'stand by'. If for some reason the image specified by the background attribute can't be displayed, then the background color is used instead.

background - instructs the browser to display a tiled background to the page using a GIF or JPG image.

Example code:

My Web Page


(The main part of your document appears here)


See Also: