append p jquerry code example
Example 1: jquery append
$("p").append(" <b>Appended text</b>.");
Example 2: append to jquery
$("<span>Hello World!</span>").appendTo("p");
$("p").append(" <b>Appended text</b>.");
$("<span>Hello World!</span>").appendTo("p");