add html content in jQuery code example Example: create an element jquery $('<div>hello</div>').appendTo('#parent');