Monday, April 18, 2011

Reset Button in HTML

The use of the reset button is to clear or delete the form automatically when the user click it. It also the same of the Submit Button but the difference it the function of the two the reset is to clear while the submit is to add information in the field.

Source Code:
<html>
<head>
   <title>Reset Buttons</title>
</head>

<body>
   <b>Reset Buttons:</b><br/>

<input type = "reset" name="clear" value="Reset" >

</body>
</html>

Name - you will set the name of the button to delete or clear the program that handles automatically through the server.

Value - you will set the value of what is written like "Reset".

Output:


Reset Buttons:




This is apply if you want to put an delete button or rest from your website.
I think this basic program I hope you will learn something to it.
Thanks for reading my blog...

No comments:

Post a Comment