Version-//W3C//DTD HTML 4.01//EN
ElementBUTTON
Purposepush button
DescriptionThe BOTTON element places a graphical control on the page that the user can activate to achieve a variety of effects. It is similar to an INPUT element which has a type attribute of "submit."
Start tagRequired <BUTTON>
Attributes
NameTypeDefaultComment
accesskey CDATA #IMPLIEDa single character from ISO10646 (see RFC1815); accessibility key character
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
disabled( disabled )#IMPLIEDunavailable in this context
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
name CDATA #IMPLIED
onblur CDATA #IMPLIEDscript expression; the element lost the focus
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onfocus CDATA #IMPLIEDscript expression; the element got the focus
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
style CDATA #IMPLIEDstyle sheet data; associated style info
tabindex NUMBER #IMPLIEDposition in tabbing order
title CDATA #IMPLIEDtext; advisory title
type( button | submit | reset )submitfor use as form button
value CDATA #IMPLIEDsent to server when submitted
Content( P | H1 | H2 | H3 | H4 | H5 | H6 | UL | OL | PRE | DL | DIV | NOSCRIPT | BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS | #PCDATA | TT | I | B | BIG | SMALL | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM | A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | INPUT | SELECT | TEXTAREA | LABEL | BUTTON )* -( A | INPUT | SELECT | TEXTAREA | LABEL | BUTTON | FORM | FIELDSET )
End tagRequired </BUTTON>
Referenced in A ABBR ACRONYM ADDRESS B BDO BIG BUTTON CAPTION CITE CODE DD DEL DFN DIV DT EM FIELDSET H1 H2 H3 H4 H5 H6 I INS KBD LABEL LEGEND LI OBJECT P PRE Q SAMP SMALL SPAN STRONG SUB SUP TD TH TT VAR
Save this page to any social bookmarking site! Share · Search · Market · Directory
2013-04-15 · John December · Contact · Terms of Use © December Communications, Inc.