


<BODY BACKGROUND="sealbg.gif">
Try to avoid using dark or complex images for your background. Some images can make it extremely difficult to read your text.
The <BODY> tag may also be used to change the colors in your document. Using the BGCOLOR parameter lets you specify the background color of your document. The following, for example, makes the background white:
<BODY BGCOLOR="#FFFFFF">
| FF00FF | FFFF00 | 00FF00 | 00FFFF | 0000FF |
|---|---|---|---|---|
![]() | ![]() | ![]() | ![]() | ![]() |
Note: these examples use hexadecimal codes to specify colors. This was required by older browsers. Many newer browsers support color names, including : Aqua, Blue, Green, Lime, Navy, Silver, Teal, White, Yellow. The format for this would be:
<BODY BGCOLOR="Blue">
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#003399">
Try changing the colors on one of the pages you've created. Open the file second.html using Notepad and add a <BODY> tag after the </HEAD> tag. Use BGCOLOR="Aqua" and TEXT="Blue" to change colors. Then save the file and view it in Netscape to see the changes.
At the beginning of this part, you were warned about overusing images. The same warning applies to colors. Be careful about using these features. The results can vary depending on the type of browser (and type of computer) your viewers use. What looks great on your computer can be an unreadable mess on someone else's. Do not use background colors and images which are so dark that they make it hard to read the text.