Dynamic Colors

This document inclues a short script that uses DHTML to change the colors of objects by manipulating style properties.

You can change this page's heading to red, blue, or black. You can also change the color of these two paragraphs of text to red, blue, or green.

The paragraphs can all change color at once because they are in the same class. This particular paragraph doesn't change color since it doesn't have a CLASS attribute.