jquery set div code example Example: how to put html inside jquery text $('div.demo-container').html('<p>All new content. <em>You bet!</em></p>');