Several attributes control the `` element's behavior and appearance:
Attribute
Description
autofocus
Sets focus to the button when the page loads.
disabled
Disables the button (it cannot be clicked).
form
Specifies the form the button belongs to (if not nested directly within the form).
formaction
(For type="submit" only) Specifies the URL for form submission (overrides the form's `action` attribute).
formenctype
(For type="submit" only) Specifies encoding for form data (overrides the form's `enctype` attribute).
formmethod
(For type="submit" only) Specifies the HTTP method (GET or POST) for form submission (overrides the form's `method` attribute).
formnovalidate
(For type="submit" only) Disables form validation before submission (overrides the form's `novalidate` attribute).
formtarget
(For type="submit" only) Specifies where to open the response (overrides the form's `target` attribute).
name
Specifies the name of the button (used for form submission).
type
Specifies the button type (button, submit, reset). type="submit" submits a form; type="reset" resets a form; type="button" requires JavaScript to trigger an action.
value
Specifies the button's initial value (text displayed on the button).
popovertarget
The ID of a popover element to control.
popovertargetaction
How to control the popover (show, hide, or toggle).
The `` element also supports standard HTML global and event attributes.