input type="submit" ElementThe input type="submit" element is an inline element declared by the XHTML 1.1 Forms Module
Elements in the Forms Module are:form | label | textarea | select | optgroup | option | button | fieldset | legend | input type="button" | input type="checkbox" | input type="file" | input type="hidden" | input type="image" | input type="password" | input type="radio" | input type="reset" | input type="submit" | input type="text"
The input type="submit" element creates
a submit button for a form,
with the button text being the contents of
its value
attribute (or some browser default text - e.g. "Submit" or "Submit Query" -
if no value
attribute is specified).
If a name
attribute is specified on an
input type="submit" element,
a name=value pair is sent to the processing URI
if that button is the one used to submit the form.
No pair is sent if no name
attribute is provided.
For example, the submit button below will send the pair
button1=Continue to the processing URI
if this button is used to submit the enclosing form.
This example button is contained below in a
method="get"
form. If you press it, you will reload
this page with this pair appended to the
URI as the query string ?button1=Continue just prior to the
fragment identifier for this "Further Information" section (#details).
For other types of submit button see the
input type="image"
and button elements.
In Internet Explorer, for reasons unknown, buttons with long text content are usually rendered
with excessive horizontal padding - the longer the button text, the more excessive the padding.
This annoyance can be avoided by using the CSS declarations
width:auto; overflow:visible; and setting the padding
property to the desired value.
Although the type attribute is not #REQUIRED
on the input element, its default value is "text" and so must be present on input type="submit".
input type="submit" element are listed below:accesskey [ type Character ]disabled [ type Boolean ]name [ type CDATA ]name attribute is specified - no data will be sent for this button). The value sent (in a name=value pair) is that of its value attribute, if present, or else the default button text supplied by the browser (usually either "Submit", "Submit Query" or similar)tabindex [ type Number ]value [ type CDATA ]name attribute has been specified.onblur [ type Script ]onfocus [ type Script ]input type="submit" element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
input type="submit" element is:
EMPTY
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
input type="submit"This element is empty and may have no children.
input type="submit"abbr, acronym, address, cite, code, dfn, div, em, h1 - h6, kbd, p, q, samp, span, strong, varadd, dt, licaption, td, thfieldset, label, legendb, big, i, small, sub, sup, ttdel, insbdoobjectrb, rt