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:
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.