js add text at beginning of element code example Example: append to top javascript $('div').prepend('<p>Bla bla bla');