411 REFERENCE · Wikibooks
HyperText Markup Language/Tag List/button
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Use
This tag is used for declaring a button on the HTML page. The ../input/ tag is more common in declaring a button.
Example
<button name="button_one" value="click">Click Me</button>
Optional attributes
disable
Used to disable the button.
name
Names the button. Used for pages with scripts on them.
type
Declares the type of the button. The user has three choices:
button: Standard button
reset: Resets the form that the button is in.
submit: submits the form to a page specified.
value
Declares a value in the button. Used with scripts.
Standard attributes
id
class
title
style
dir
lang
xml:lang
accesskey
tabindex
More info
w3school button tag
deep