INPUT TYPE=button HTML Element
The INPUT TYPE=button element creates a button control. This is an inline element and does not require a closing tag.
Attributes
Attribute | Value | Description |
---|---|---|
ACCESSKEY | 0...9, #, * | Gives access or focus to an active HTML element by using a keypad number.
Note For Pocket PCs, supported only for devices running Windows Mobile 2003 software or later. |
CLASS | Associates the element with a CSS style.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
DISABLED | Disables the button so that it appears dimmed and does not respond to user input.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
ID | Uniquely identifies the element within a document.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
NAME | String | Specifies the button control name. |
ONBLUR | Event that occurs when the button control loses focus by the pointing device or by tabbing navigation.
Note Supported only for devices running Windows Mobile 2002 software or later. |
|
ONCLICK | Event that occurs when the user chooses the button control.
Note Supported only for devices running Windows Mobile 2002 software or later. |
|
ONFOCUS | Event that occurs when the button control receives focus by a pointing device or by tabbing navigation.
Note Supported only for devices running Windows Mobile 2002 software or later. |
|
STYLE | Provides the definition of the CSS styles used for this element.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
TABINDEX | Sets the order in which elements are tabbed to.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
VALUE | String | Specifies the button control text value. This text is displayed as the button's label. Buttons wider than the device screen are visually clipped. |
Requirements
Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.