js add div append with class code example Example: jquery append $("p").append(" <b>Appended text</b>.");