append and appendto in jquery code example Example: append to jquery $("<span>Hello World!</span>").appendTo("p");