The reset button

HTML allows to add other kind of buttons to a form element.

To clear the content of the form fields and reset them to their values (clear any changes made by the user), use a reset button. This can be added to a form element by including an <input> element with the type attribute set to "reset".

The following are the attributes of the reset button.

disabled - disables the submit button.
name - it is the identifier for the element.
value -represents the label that will appear on the button (default value is "Reset")
Related Tutorial
Follow Us #