Visitors click the SUBMIT button, appropriately enough, to submit their form. This sends the form data to the URL specified in the <FORM> tag’s ACTION attribute (PonyExpress).
A SUBMIT button is yet another INPUT tag, with TYPE=”submit.” The optional VALUE field is the text that will appear on the button itself:
<input type="submit" value="Send Form">
A RESET button clears all fields on the form for the user to start over. This tag is not required, but is often used for the convenience of the web visitor, who would otherwise be required to delete all form fields to start over or correct input errors.
<input type="reset" value="Clear Form">
This example illustrates the use of these buttons (although submitting won’t actually do anything):
<form method="get" action="some script">
Your full name
<input type="text"> <br>Comments
<textarea cols="30" rows="5">
<input type="submit" value=" Send form ">
<input type="reset" value=" Clear form ">