Learn HTML Code Tutorial Reference Guide

Attribute for <BODY ...>
BACKGROUND = "image URL"

Usage Recommendation
use it, but don't rely on it

BACKGROUND sets a picture to use as the background for a page. For example, to use this paper-like image as the background for a page:

a picture of paper to use as a background

we use this <BODY ...> tag:

this code produces this
<BODY 
    BACKGROUND="paper.gif"
    BGCOLOR="#FFFFFF"
    TEXT="#000000"
    LINK="#0000FF"
    VLINK="#FF66FF"
    ALINK="#FF0000"
    >
this page

Notice that we set all color properties for the page. If you set one color, set them all, which leads to our next topic: Avoid the Most Common Mistake Made with BACKGROUND.




 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial