<button>
Widely available
Tags:
api
html
Groups:
Forms
HTML
HTML elements
HTML
The <button>
element is an interactive element activated by a user gesture that performs an action such as submitting a form, or opening a dialog.
Compatibility
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 1 Released on 2004-11-09
- Firefox for Android 4 Released on 2011-03-29
- Safari 1 Released on 2003-06-23
- Safari on iOS 1 Released on 2007-06-29
MDN docs
Specifications
- HTML Standard, from HTML Workstream (WHATWG).
BCD data
- api.HTMLButtonElement
- api.HTMLButtonElement.disabled
- api.HTMLButtonElement.form
- api.HTMLButtonElement.formAction
- api.HTMLButtonElement.formEnctype
- api.HTMLButtonElement.formMethod
- api.HTMLButtonElement.formNoValidate
- api.HTMLButtonElement.formTarget
- api.HTMLButtonElement.labels
- api.HTMLButtonElement.name
- api.HTMLButtonElement.type
- api.HTMLButtonElement.value
- html.elements.button
- html.elements.button.disabled
- html.elements.button.form
- html.elements.button.formaction
- html.elements.button.formenctype
- html.elements.button.formmethod
- html.elements.button.formnovalidate
- html.elements.button.formtarget
- html.elements.button.name
- html.elements.button.type
- html.elements.button.value