HTML and CSS Reference
In-Depth Information
<button>
Function
Creates a button element within a form
accesskey
,
class
,
dir
,
disabled
,
id
,
lang
,
name
,
notab
,
onBlur
,
onClick
,
onDblClick
,
onFo-
cus
,
onKeyDown
,
onKeyPress
,
onKeyUp
,
onMouseDown
,
onMouseMove
,
onMouseOut
,
onMouseOver
,
onMouseUp
,
style
,
tabindex
,
Attributes
,
title
,
type
,
value
taborder
</button>
; never omitted
End tag
Contains
button_content
Used in
form_content
9.6.1. The <button> Button
Neither the HTML 4 nor the XHTML standard is overly clear as to what
display enhancements to a form the
<button>
element should provide,
other than to suggest that the contents should be 3D and visually appear
to react like a push button when the user selects it (i.e., go in and back
out when pressed). All the popular browsers support
<button>
.