<input type="button">

Two young people working together
Xavier Arnau/E+/Getty Images

INPUT Button Description:

The button INPUT tag gives you a way to create simple input buttons with custom text. It is similar to the INPUT submit tag but is slightly more flexible.

HTML4 Strict:
HTML4 Transitional or Loose:

INPUT Button Web Browser Support:

HTML Versions

INPUT Button Attributes:

Global attributes, event attributes and the input tag attributes

INPUT Button Usage:

Standard input button


Styled input button


See an example of a plain button input tag and a styled button input tag.

INPUT Button Special Notes:

The input button tag will not submit the HTML form without some JavaScript to make it work. If you don't have any JavaScript onclick you will frustrate your readers, as clicking the button won't do anything.

I recommend using the BUTTON tag rather than the INPUT type="button" tag. The BUTTON tag is more flexible. You can add images to it, and it can be defined as a submit or reset type of button without needing any extra JavaScript.

More INPUT Button Information: