Click to return to the DHTML, HTML     
INPUT type=reset     INPUT type=text     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

INPUT type=submit Element | INPUT type=submit Object


Creates a button that, when clicked, submits the form.

HTML Syntax

<INPUT
    ACCESSKEY = key
    ALIGN = LEFT | CENTER | RIGHT
    ALT = text
    CLASS = classname
    DISABLED
    ID = value
    LANG = language 
    LANGUAGE = JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS
    LOWSRC = url
    MAXLENGTH = n
    NAME = name
    READONLY
    SIZE = n
    STYLE = css1-properties
    TABINDEX =n
    TITLE =text
    TYPE = SUBMIT
    VALUE = value
    event  = script
>

Remarks

Use the value attribute to create a button with a display label that cannot be edited by the user. The default label is application-specific. If the user clicks the Submit button to submit the form, and that button has a name attribute specified, that button contributes a name/value pair to the submitted data.

The submit element is an inline element and does not require a closing tag.

This element is available in HTML and script as of Microsoft® Internet Explorer 3.0.

Members

Styles

See Also

BUTTON, INPUT



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.