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