HTML <input type="reset">
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
Attribute | |||||
---|---|---|---|---|---|
type="reset" | Yes | Yes | Yes | Yes | Yes |
Syntax
<input type="reset">