how to append html tag with text in jquery code example Example: jquery append text to div $( "#divId" ).append( "<p>Test</p>" );