Tutorials References Exercises Menu
Paid Courses

HTML <input type="submit">

❮ HTML <input> type attribute

Example

Define a submit button:

<input type="submit">
Try it Yourself »

Definition and Usage

The <input type="submit"> defines a submit button which submits all form values to a form-handler.

The form-handler is typically a server page with a script for processing the input data.

The form-handler is specified in the form's action attribute.


Browser Support

Attribute
type="submit" Yes Yes Yes Yes Yes

Syntax

<input type="submit">

❮ HTML <input> type attribute