Javascript Program – How To Change Text by a button || Coding ||#shorts Programming with Prateek 1 year ago The innerHTML property can be used to write the dynamic html content on the html document. The innerHTML property sets or returns the HTML content (inner HTML) of an element.