#jQuery #appendTo() .appendTo() .appendTo() puts the selected element into another element. grammar .appendTo( target ) for example $( 'p' ).appendTo( 'blockquote' ); moves the p element to the blockquote element. example Move the span element with abc as the class value to the h1 element. Lorem Ipsum Dolor Consectetur adipiscing elit. Aenean nec mollis nulla. Here is the rendered result: Lorem ..