create html tag adjacent to another tag by jquery code example Example: create an element jquery $('<div>hello</div>').appendTo('#parent');