Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

HTML <input type="reset">

❮ HTML <input> type attribute


Define a reset button:

<input type="reset">
Try it Yourself »

Definition and Usage

The <input type="reset"> defines a reset button which resets all form values to its initial values.

Tip: Avoid reset buttons in your forms! It is frustrating for users if they click them by mistake.

Browser Support

type="reset" Yes Yes Yes Yes Yes


<input type="reset">

❮ HTML <input> type attribute