INPUT TYPE="RESET"


It is always a good idea to allow the user to quickly clear the input. Many times a user may decide not to submit. So with a click of a button all the fields in the form can be cleared. This is done using the following syntax:

<INPUT TYPE="RESET" VALUE="text on button">
The VALUE attribute is optional. If no VALUE is specified the text on the button will be "Reset".


Go ahead, and test the reset button. Enter some answers and click the reset button at the end. See if it really clears all the input at once.
Please choose an ice cream flavor.
chocolate grape lemon strawberry vanilla

Please enter country of residence:

Please enter your favorite foods:


What other types of input are there?

[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 9]

Valid HTML 3.2!