Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

HTML <input type="submit">

❮ HTML <input> type attribute


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

type="submit" Yes Yes Yes Yes Yes


<input type="submit">

❮ HTML <input> type attribute