ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

22-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>
Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!