22-HTML Reset

0
248

This tutorial is all about HTML Reset.
Reset button is used to clear all the value in the fields on the web form and return to its default appearance.

 

 

Reset button use <input> tag and the type attribute was set to  “reset” to incorporate it into a web form.

 

 

Example:

<input type=”reset” value=”Reset” />
<input type=”reset” value=”Refresh” />

<input type=”reset” value=”Clear” />

 

 

Another example:

<form action="proccess.php" method="post">
 <input type="text" size="9" maxlength="11" />
<input type="text" size="10" maxlength="23" /> 
<input type="reset" value="Clear" /> 
</form>

 

Readers might read also:

 

 

 

Facebook Comments
(Visited 12 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here