Javatpoint Logo
Javatpoint Logo

Html <Button> Type

The type is an attribute of <button> element, which sets the type of the button as described in the following syntax:

Following are the three values of type attribute:

  1. Button: The button value is used for the clickable button.
  2. Submit: The submit value is used for submitting the form-data.
  3. Reset: The reset value is used to reset the values of a form to its initial values.


Test it Now


HTML Button Type

Browser Support

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<Button type="">YesYesYesYesYes

Next TopicHTML Hide Element

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA