CSCI 150, Spring 2003

Home | | Course Schedule | | Assignments | | Lecture Notes

Writing a Web Page--Hints

Adding a background color

Modify the <BODY> tag to read:

<BODY BGCOLOR = "blue">

The color can be specified as one of the standard colors:

Hexadecimal color notation
Alternatively you can specify colors in Hexadecimal notation, for example:

<BODY BGCOLOR = "#FFFFFF">

<BODY BGCOLOR = "#2277CC">

In this notation, the first 2 digits refer to the amount of red, the second two refer to the amount of blue and the third pair refer to the amount of green in the color.


Saving an image from the web

You can save any image from the web onto your own local drive as follows.