1  <HTML>
  2  <HEAD>
  3    <TITLE>HTML Example:  Color</TITLE>
  4  </HEAD>
  5  <BODY BGCOLOR="#b0e0e6" TEXT="#191970">
  6  
  7  <H1 ALIGN="CENTER">Color</H1>
  8  
  9  This document has navy blue text (<TT>TEXT="#191970"</TT>) on a light 
 10  blue background (<TT>BGCOLOR="#b0e0e6"</TT>).  These and other 
 11  attributes (<TT>LINK</TT>, <TT>VLINK</TT>, and <TT>ALINK</TT>) are 
 12  defined in the <TT>&lt;BODY&gt;</TT> tag.  For example, the tag
 13  
 14  <PRE>&lt;BODY BGCOLOR="#b0e0e6" 
 15        TEXT="#191970" 
 16        LINK="#aa0055" 
 17        VLINK="#661599"&gt;</PRE>
 18  
 19  calls for navy blue text on a light blue background, with red links 
 20  and purple visited links.  (Note: The <TT>ALINK</TT> attribute is the 
 21  least important of the color attributes and is often omitted.)  
 22  <P>
 23  
 24  Instead of a background color, the designer may specify a background 
 25  image.  For example, the tag
 26  
 27  <PRE>&lt;BODY BGCOLOR="#b0e0e6" 
 28        BACKGROUND="texture.gif"
 29        TEXT="#191970" 
 30        LINK="#aa0055" 
 31        VLINK="#661599"&gt;</PRE>
 32  
 33  loads a GIF image called "texture.gif", which is tiled across the 
 34  window background.
 35  <P>
 36  
 37  <STRONG>Tip:</STRONG> <EM>Always</EM> specify a <TT>BGCOLOR</TT> 
 38  attribute.  It's not needed if a <TT>BACKGROUND</TT> image is used, 
 39  but if the link to the <TT>BACKGROUND</TT> image is broken or the 
 40  client browser has images turned off, the <TT>BGCOLOR</TT> attribute 
 41  will rescue your page.
 42  
 43  <P><HR>
 44  
 45  </BODY>
 46  </HTML>