< All the HTML Tags >

<button></button>

Video Coming Soon...

  • button

    Tag Type

    inline

    Tag Category

    forms

    Defines a clickable button

    Viewed

    1

    Examples

    1

Definition:

The HTML <button> tag creates a clickable button that can be used to submit forms or trigger JavaScript actions.

It can contain text, images, or other HTML elements, providing flexibility in button design. Attributes like type (e.g., button, submit, or reset), disabled, and name can be used to enhance functionality.

The `<button>` tag is essential for interactive web applications and user interfaces, offering a user-friendly way to perform actions on a webpage.

Attributes:

autofocus, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, name, type, value

Accessibility:

Coming Soon…

Default button Example:

Using the <button> tag to create a button.
<button type="button">Click Me</button>

Default button Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…