The <button> tag performs the same function as <input type="submit"> except that button provides a "richer" presentation. The <button> rendition should present a "3D" type of image that changes when the button is pressed.
disabled=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"When set for a form control, this boolean attribute disables the control for user input." (W3C HTML 4.0)
|
name=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This attribute assigns a name to the button." (W3C HTML 4.0)
|
tabindex=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This attribute specifies the position of the current element in the tabbing order for the current document. This value may be a positive or negative integer." (W3C HTML 4.0)
|
type=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This attribute declares the type of the button. When this attribute is not set, the button's behavior is undefined. Possible values:" (W3C HTML 4.0)
|
| "button" |
"Creates a simple push button intended to trigger a script." (W3C HTML 4.0)
|
| "reset" |
"Creates a button that resets an englobing form." (W3C HTML 4.0)
|
| "submit" |
"Creates a button that submits an englobing form. This is the default value." (W3C HTML 4.0)
|
value=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
"This attribute assigns a value to the button." (W3C HTML 4.0)
|