.append() in jQuery

It helps to insert content, specified by the parameter, to the end of each element in the set of matched elements.

.append()

// To add contents and elements at once.

$( “.content” ).append( “<p>Test</p>” );