how to append div in html code code example Example: jquery append $("p").append(" <b>Appended text</b>.");