Basics

HTML

Java

Colors

Frames

Tables

Fonts

Graphics

Links

Contact

how do i add a background to my page?

 

If you want to add a background image to your page, you will need to add the tag below after the </HEAD> tag into your page. Remember that you can use a .gif or a .jpg, you just have to change the filename in the following code. You have to fill in your own information where the text is fat.

<BODY BACKGROUND="your background image name.gif">



If you just want a background color (it will look just like my background, but then with the color you like), you should add this tag after the </HEAD> tag:

<body bgcolor="#000000" (whatever color # you want)>

To find the color you like, click here



If you want to have a color background AND a background image (you will have a color background while the background image loads), you can add this tag after the </HEAD> tag:

<body background="name of background.gif" bgcolor="#000000"

(To find the color you like, click here)>



You can also have a fixed background. When you scroll down your page, your images and text will move but the background image will stay in a fixed position. Just put this tag after the </head> tag:

<BODY BACKGROUND="YourImageName.gif" bgcolor="#ffffff" bgproperties="fixed">