jquery set the html of a div code example Example: jquery set html of element $("button").click(function(){ $("p").html("Hello <b>world</b>!"); });