HTML <input> type Attribute
Example
<input type="submit" value="Submit">
Meaning
Provides button that submits the form.
Additional Attributes
- formaction:The URL to which to submit the form's data; overrides the form's action attribute, if any.
- formenctype:A string specifying the encoding type to use for the form data.
- formmethod:The HTTP method (get or post) to use when submitting the form.
- formnovalidate:A Boolean which, if present, means the form's fields will not be subjected to constraint validation before submitting the data to the server.
- formtarget:The browsing context into which to load the response returned by the server after submitting the form.
Standard Syntax
HTML: <input type="submit">
XHTML: <input type="submit" />
Advertisement