api for replacing code in html code example Example: jquery replace html $(element).html("Hello World");