reset button in html using javascript code example Example: reset button html <input type="reset" value="Reset" />