Submit ButtonSubmit buttons have a special purpose. i.e, when the submit button is clicked, then the form will be submitted to the page specified in the action attribute of the form tag along with its data.
Submit button can be created as :
<input type="Submit" name="<Name of the submit button >" value="valueof the button">
Attributes of Submit Button:Name: Specifies the name of the object through which it can be referenced.
value: Specifies the value of the submit button. this will be displayed on the submit button.
<input type="submit" name="submitbtn" value="Submit">This places a submit button within the HTML form, which can be referenced by using its name "submitbtn"
The submit button will be displayed as below:
How to submit form to a new window and using two submit buttons in one form