Standard Layout: <BODY>

The <BODY> tag uses several important attributes to control the look of your page. Use the BGCOLOR attribute and value to change your page's background color. (A list of the hexadecimal representations for various web-safe colors can be found on the HTML Color Chart).

Here is an example of how to change the background color of your web page. The following code changes the background of a web page to black ("#000000"):

<html>
<head>
</head>
<body bgcolor="#000000">
</body>
</html>

You can also set the colors of your text and links using the following code in the <body> tag:

<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000" link="#339933" alink="#cc3300" vlink="#ff9933">
</body>
</html>

The preceding code instructs the browser to display the background color as white ("#ffffff), the text as black ("#000000"), unvisited links as green ("#339933"), active links as red (#"cc3300") and visited links as orange ("#ff9933").

Back Continue