The Current State of HTML5 Forms

The button Type

<input type=button>
<input type=button value="I am a button">

Live Demo



Firefox
Safari
Safari Mobile
Chrome
Opera
IE
Android
Supported Supported Supported Supported Supported Supported Supported

Supported Browser Screenshots

Opera

The Low Down

The button input type creates a button that doesn't actually do anything.

  • The label of the button is provided via the value attribute. The button will be blank unless you include a non-empty value.
  • A button input has no default behavior. To make it do something, use JavaScript.
  • The name and value of the button are NOT submitted with the form.
  • The button input does not go thru constraint validation.