Colors, Backgrounds, and Other Graphics

Colors | Backgrounds | Other Graphics
You can change the background color of a page in the <body> tag as follows: <body bgcolor=somecolor>. Some of the colors can be given in words like white, blue, etc. where it says somecolor. To get a wider variety you will need to use the red-green-blue (rgb) number system that has been developed where there are two characters for each of the colors red, green, and blue in every color designation (so you end up with six characters, preceded by a # sign). The code for white is #ffffff, the code for black is #000000. These colors can also be used on text within the document (in the font tag put color=...), links (link=...), visited links (vlink=...), and active links (alink=...). All of the link colors are placed in the <body> tag.

A background can be placed on a page using the <body> tag as well. The syntax is: <body background="image.gif">. The image.gif can be any image and could have a .jpg extension instead of .gif (this depends on how the image was saved). See below for some sites where you can obtain background images.

Images can also be placed throughout the page using the <img> tag. A simple example would be

<img src="...path/imagename.jpg" alt=[image]>.

This is how they put arrows and other icons on web pages, as well as regular pictures.

Send a note to Dr. Burgess about any other great sites that you find. Thanks.


Colors:
Backgrounds:
Other Graphics: