7 out of 448 rated this helpful - Rate this topic

input type=submit element | input type=submit object

[This documentation is preliminary and is subject to change.]

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

HTML 4.01 Specification, Section 17.4HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.1.19

Standards information

HTML information

Closing Tagforbidden
CSS Displayinline

DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     input type=submit

Remarks

Use the VALUE attribute to create a button with a display label that cannot be edited by the user. The default label is Submit Query. 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.

If the INPUT type=submit element is part of a FORM element, it appears as a button with a dark border, which indicates the user can press ENTER to submit the form.

When there is more than one INPUT type=submit in the same form, pressing enter submits the form using the first INPUT type=submit, unless another INPUT type=submit has focus. When another INPUT type=submit has focus, pressing enter submits the form using that INPUT type=submit.

See also

input
Reference
button
input

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
input type=submit element
what are attributes for submit button