Submit form
There are two ways for adding the submit button. First way, is using the <input> element with type="submit". Second way, is using the <button> also with type="submit".
attributes
You can override some form attributes using the corresponding formxxx attributes. For example, the action attribute will become the formaction attribute in the submit element.
attribute | description |
---|---|
formaction | The URL that handles the form action. Overrides the form's action attribute, if any. |
formmethod | The HTTP method of action. Possible values:
|
formenctype |
The MIME type of the form submission for method post. Possible values:
|
formtarget |
Specifies where to display the response after submitting the form. Possible values:
|