HTML - Reset Buttons

  »   HTML  »   HTML Tutorial - Reset Buttons

The reset buttons are used for bigger forms usually, in case the user has mistyped the majority of the information introduced, therefore wanting to erase the entire introduced text.

html<input type="reset" value="Reset" /><br />

<input type="reset" value="Delete" /><br />

<input type="reset" value="Clear form " />


HTML- The reset button action

For the reset button to be functional will be needed to introduce it in the <form> tag. You can read the tutorial about HTML Forms for more examples.

html<form action="myphp.php" method="post">

	<input type="text" size="15" maxlength="15" /><br />
	<input type="text" size="25" maxlength="25" /><br />
	<input type="reset" value="Delete" />



Try to insert a small text and click the "Delete" button in the example above.