Monday, May 21, 2012

How to create reset and submit buttons

These 2 buttons allow our user to reset a form or to submit it.

Submit


The tag is "submit" and it will send the form to the specificied order "action".
<input type="submit" name="button" value="submit" action=""/>


Reset





This button will empty all the selected options and entered text in a form.We will use the tag "reset".
<input type="reset" name="button" value="reset"/>


Try it on your own, create a form, add these 2 buttons and see what happens in any internet explorer.

No comments:

Post a Comment