## BUTTON

Attribute definitions

name = cdata [CI]
  This attribute assigns the control name.
value = cdata [CS]
  This attribute assigns the initial value to the button.
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.

Attributes defined elsewhere

- id, class (document-wide identifiers)

- lang (language information), dir (text direction)

- title (element title)

- style (inline style information)

- disabled (disabled input controls)

- accesskey (access keys)

- tabindex (tabbing navigation)

- onfocus, onblur, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)

Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities: the BUTTON element may have content. For example, a BUTTON element that contains an image functions like and may resemble an INPUT element whose type is set to "image", but the BUTTON element type allows content.

Visual user agents may render BUTTON buttons with relief and an up/down motion when clicked, while they may render INPUT buttons as a "flat" images.