Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Creates a button control.
HTML Syntax
<INPUT ACCESSKEY = key ALIGN = LEFT | CENTER | RIGHT ALT = text CLASS = classname DISABLED DYNSRC = url ID = value LANG = language LANGUAGE = JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS LOWSRC = url MAXLENGTH = n NAME = name READONLY SIZE = n SRC = url STYLE = css1-properties TABINDEX =n TITLE =text TYPE = BUTTON VALUE = value event = script >
Members
Example
The following example defines a button that responds appropriately when clicked.
Sample Code
<INPUT TYPE=button ID=btnEmergency VALUE="In case of emergency, push this button!" onClick="alert('Aaaaaaaggggghh!!!!')">The HTML code above results in the following button:
Styles
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.