Click to return to the DHTML, HTML     
BR Element | BR Object     CAPTION Element | CAPTION...     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

BUTTON Element | BUTTON Object


Specifies a container for rich HTML that is rendered as a button.

HTML Syntax

<BUTTON
    ACCESSKEY=string
    CLASS=classname
    DATAFLD=colname
    DATAFORMATAS=HTML | TEXT
    DATASRC=#ID
    DISABLED=true | false
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS
    NAME=name
    STYLE=css1-properties 
    TITLE=text
    TYPE=BUTTON | RESET | SUBMIT
    VALUE=value
    event = script
>

Remarks

When the BUTTON element is submitted in a form, Microsoft® Internet Explorer 5 and later submits the VALUE attribute, if it exists. Otherwise, the innerText property is submitted. In Internet Explorer 4.0, only the innerText value is submitted.

The BUTTON element is an inline element and requires a closing tag.

This element is available in HTML and script as of Internet Explorer 4.0.

Members

Styles



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.