Web HTML-HTML.com
You are here: HTML > Document Tags > <BODY ...>

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="#FF0000"
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.

Avoid the Most Common Mistake Made with BACKGROUND >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com