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