A submit button is an element in HTML that can be used to submit a
<form>. The native submit button elements are:
In addition to submitting a form, a submit button can affect the form's behavior and what data is sent.
Overriding the form's behavior
Submit buttons can override the form's submission behavior through various attributes:
formaction: Override the
actionattribute of the form.
formenctype: Override the
enctypeattribute of the form.
formmethod: Override the
methodattribute of the form.
formnovalidate: Override the
novalidateattribute of the form.
formtarget: Override the
targetattribute of the form.
Form data entries
If the submit button is a
<input type="submit"> and has a
name attribute, the form data set will include an entry for its
If the submit button is an
<input type="image">, the form data set will include entries for the X and Y coordinates that the user clicked on (e.g.