Site hosted by Angelfire.com: Build your free website today!
Samantha Coaker's HTML Tutorials

Back | Contact

How to change your background.

There are 2 ways (excluding using Cascading Style Sheets) to change your background. One is to simply change the colour, the other is to create a wallpaper. These are both achieved by adding an attribute to your body tag.

<body bgcolor="colour name or hex code">
Example

or

<body background="Yourbackgroundimage.jpg">
Example

It is a good idea to use the background colour command even if you want a wallpaper, just incase the image fails to load and your text then clashes with the the visitors default background colour.

Tutorials © Samantha Coaker