Here are some different ways to set the background color. First a simple link that goes nowhere and has embedded JavaScript:
And a series of radio buttons in a form with embedded JavaScript:
This last example makes use of a function defined in the HEAD part of the HTML page:
BGCOLOR
These links call a userdefined JavaScript function (shown above) and pass it the name of the color required.
Return to example