Previous Example-|-Next Example-|-Return to Chapter Listing

Example 14-14:
Controlling Background Colors


Click on the buttons to change the background color:
Click here to go to the color chart.
These are the buttons we used: <FORM> <INPUT TYPE="button" VALUE="Red" onclick="document.bgColor='red'"> <INPUT TYPE="button" VALUE="White" onclick="document.bgColor='white'"> <INPUT TYPE="button" VALUE="Blue" onclick="document.bgColor='blue'"> <INPUT TYPE="button" VALUE="Green" onclick="document.bgColor='green'"> <INPUT TYPE="button" VALUE="Blue (#0000FF)" onclick="document.bgColor='#0000FF'"> </FORM>
Previous Example-|-Next Example-|-Return to Chapter Listing