Demo of the [attribute$=value] selector

Set a background color on all div elements that have a class attribute value that ends 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.