Submitting and Resetting Data
This is the final and most important of any form. You can send the data and of course reset it if you need the need to make a correction. It is used with the <input> tag, which is used with other items like hidden, radio, checkbox, and of course these ones right being the reset and submit buttons. It really isn’t hard to put them together but to get the spot you want has to be referred to the beginning. Whatever action you give it will need to be checked to ensure that it is working.
|List of <input type=submit> and <input type=submit> tags attributes|
|type=sibmit or type=reset||Determines the type of <input> element.|
|name||Determines the name of button.|
|value||Determines the text on button.|
As you can see above, this is what it looks like and the code as well. All you have to do with the example above is apply it at the end of the form and then go from there.
<input type=text name=txt><br />
<input type="submit" value="Continue" name="contin">
<input type="reset" value="Make Corrections" name="corr">
The example above shows how works "submit" and "reset" buttons in form. If "Continue" will be pressed, page will be reloaded. If "Make Corrections" button will be pressed, textbox will be empty.HTML Forms menu.