HTML Tutorials

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.




Recommended Resources

web hosting tutorials
Credit Help
Search the Internet
Search Engine Help
Low Fat Lifestyle
Internet Traffic
Web Hosting
Web Design

Discount Hotel Reservations

Search The Internet


Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.
About the author

All Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003
A service of 1stHostWeb.com