how to copy html with css in jquery code example Example: jquery clone $( ".hello" ).clone().appendTo( ".goodbye" );