Attribute | Value | Description | Optional |
---|---|---|---|
disabled | disabled | Whether or not the input is enabled. If this attribute is present, the only value it can take is "disabled" | Yes |
type | button, checkbox, file, hidden, image, password, radio, reset, submit, text | Specifies the type of input. Default is text. | Yes |
onclick | JavaScript code | The JavaScript code to execute when the control is clicked. | Yes |