append div to body jquery with attributes code example Example: jquery append element to body $( ".inner" ).append( "<p>Test</p>" );