type
Specifies the type of the button. There are three possible button types:
Submit |
Tapping a submit button causes the <form> that the button belongs to to be sent to the server. |
Reset |
Tapping a reset button causes the browser to reset all field in the form to the initial values they contained when the page was loaded. |
Button |
This button has no default action when clicked. You must use JavaScript to define custom behavior. |
Default value
submit
Valid values
submit, reset, button