Contact Our Development Team
Free Code Tutorials & Open Source Code
HTML Forms - Reset
Tutorials > HTML > Forms > Reset
Reset Button
Reset buttons are like submit buttons, but instead of submitting the form they set all form attributes to their default value. They are created in much the same way as submit buttons:
<input type="reset" value="Reset" />
<input type="reset" value="Clear Information" />
Below is a demonstration of how the reset button works - type some information into the text box and hit reset to see how it in action:
<form name="resettest">
   <input type="text" /><br />
   <input type="reset" value="Reset" /><br />
</form>


Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
     
Copyright ©2009, Wired IDS Ltd. | Licensed under Creative Commons Attribution Share-Alike | Load time: 0.3029 seconds