reset html attributes value on button click code example Example: reset button html <input type="reset" value="Reset" />