Tutorials References Exercises Menu
Paid Courses

HTML <input type="reset">

❮ HTML <input> type attribute

Example

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

Attribute
type="reset" Yes Yes Yes Yes Yes

Syntax

<input type="reset">

❮ HTML <input> type attribute