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