Description:

The <button> tag is used for creating a button within forms.

Example Code:
<button type="button">Click Me!</button>
Result:
Attributes:
Attribute Definition
name Specifies the name for a button.
value Specifies the underlying value of a button.
type

Specifies the type of a button.
Possible Values:

  • button
  • reset
  • submit
Global Attributes:

The <button> tag also supports the Global Attributes in HTML5

Event Attributes:

The <button> tag also supports the Event Attributes in HTML5