how to programatically add h2 tag in javascript code example Example: how to add text to h2 with jquery $("div#preload h2").html("Some Text Here")