Demo of the [attribute^=value] selector

Set a background color on all elements that have a class attribute value that begins with "test":

The first div element.
The second div element.
The third div element.
The fourth div element.

This is a paragraph.

This is a paragraph.