There are a large number of parameters that can be used with the body tag. Here are some of the most common:
<body bgcolor="white"> | The bgcolor attribute assigns a background color to the page. In this
case white has been selected and must be in quotes. Hex colors can also be
selected using the format < body bgcolor="#ffffff"> The advantage to using a hex colour code is that you have 16.7 million colour possibilities! (using colour names only gives 128 distinct colours. If you want to use a specific colour name, you can find them listed at this link: |
<body background="name.gif"> | The background attribute assigns a background image to the page. By default, background images are always tiled to fill the screen. A trick to produce a color band along one edge of the browser is to produce a long thin graphic (like below) and load it using the background tag so it is tiled. This graphic is 1300 x 10 pixels and is less than 3k in size! Click here to see how it looks when loaded as a background. |