BUTTON Element | BUTTON Object

MS Office 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!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.