Inherits properties from its parent,
A boolean value indicating whether or not the control is disabled, meaning that it does not accept any clicks.
HTMLFormElementreflecting the form that this button is associated with. If the button is a descendant of a form element, then this attribute is a reference to that form's associated
HTMLFormElement. If the button is not a descendant of a form element, then the attribute can be a reference to any
HTMLFormElementelement in the same document it is related to, or the
nullvalue if none matches.
A string reflecting a name or keyword indicating where to display the response received after submitting the form. If specified, this attribute overrides the
targetattribute of the
<form>element that owns this element.
A string representing the object's name when submitted with a form. If specified, it must not be the empty string.
Gets and sets the action to be performed (
"toggle") on a popover element being controlled by a control button. It reflects the value of the
A string indicating the behavior of the button. This is an enumerated attribute with the following possible values:
submit: The button submits the form. This is the default value if the attribute is not specified, or if it is dynamically changed to an empty or invalid value.
reset: The button resets the form.
button: The button does nothing.
menu: The button displays a menu. Experimental
A boolean value indicating whether the button is a candidate for constraint validation. It is
falseif any conditions bar it from constraint validation, including: its
button; it has a
<datalist>ancestor; or the
disabledproperty is set to
A string representing the localized message that describes the validation constraints that the control does not satisfy (if any). This attribute is the empty string if the control is not a candidate for constraint validation (
false), or it satisfies its constraints.
ValidityStaterepresenting the validity states that this button is in.
A string representing the current form control value of the button.
Inherits methods from its parent,
BCD tables only load in the browser
- HTML element implementing this interface: