.appendTo() in jQuery

It helps to Insert every element in the set of matched elements to the end of the target.

.appendTo()

// We can create content and insert it into several elements at once.

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