Tell a Friend About Our Cool Software

Unless you specify otherwise, a browser will render an HTML document on a white background. You can specify either a color or an image for the background.
To specify a background color other than white, include the bgcolor attribute in the <body> tag. You can specify either a color name or a numerical value for the color. For example, the following <body> tag creates a document with a medium gray background:
<body bgcolor="#999999">
To display an image in the page background, use the background attribute to specify the URL of the image:
<body background="URL">
For example:
<body background="images/chalk.gif">
If the image is smaller than the browser window it will be tiled (repeated) to fill the area.