The add() method is used to add element to the existing group of elements.
add()
This example adds the same css style for both p and span elements with the existing h1 element.