A p element with class="child" in a div.
Another p element with class="child" in a div.
A third p element with class="child" in a div.
Click the button to find out how many elements with class "child" there are inside the div element.
Note: The getElementsByClassName() method is not supported in Internet Explorer 8 and earlier versions.