A p element with class="example" in a div.
Another p element with class="example" in a div.
A p element in div with a span element with class="example" inside of it.
Click the button to add a background color to all elements with class="example" inside DIV.
Note: The querySelectorAll() method is not supported in Internet Explorer 8 and earlier versions.