button elements define actions that can be performed on the contents of a form.
- All in Input
disabledindicates that the control should be disabled.
formallows explicit association of the element with a form (using its
formtargetoverride the form's corresponding elements.
namespecifies the name of the input control, and the name against which the value will be submitted. Without this, the value will not be included in submissions.
typedefines the default action of the button:
submitbuttons submit the form.
buttonhas no action by default.
resetcreates a button which resets the values of all form elements to their default values. Use of this is usually an antipattern; it is not a commonly intended behaviour.
valuesets the initial value of the input. Note that button types display this on the control.