2.1.40 [HTML] Section 17.5, The BUTTON element


The specification states:

 value = cdata [CS] 
 This attribute assigns the initial value to the button.

All Document Modes (All Versions)

Although value is set appropriately as the initial value, the button values are not subsequently passed when the form is submitted.

Quirks Mode and IE7 Mode (All Versions)

The button's content is passed in the form that is submitted.


The specification states:

 type = submit|button|reset [CI] 
 This attribute declares the type of the button. Possible values: 
     submit: Creates a submit button. This is the default value. 
     reset: Creates a reset button. 
     button: Creates a push button.

Quirks Mode and IE7 Mode (All Versions)

The button type defaults to button.