| Reset An input of type reset creates a button which, when clicked, resets all inputs in the form it is contained in to their default state. - Text in an input field will be reset to blank or its default value (specified using the
value attribute). - Any option(s) in a selection menu will be deselected unless they have the
selected attribute. - All checkboxes and radio boxes will be deselected unless they have the
checked attribute. Note: A reset button must be inside or attached to (via the form attribute) a <form> element in order to have any effect. The button will only reset the elements within this form. |