Name

<button>

Synopsis

<button>

Description

Create a push-button element within a <form>.

Attributes

accesskey=char

Define the hot-key character for this button.

disabled

Disable the button, preventing the user from clicking it.

name=name

Specify the name of the parameter to be passed to the form-processing application if the input element is selected (required).

onblur=applet

Specify an applet to be run when the mouse moves out of the button.

onfocus=applet

Specify an applet to be run when the mouse moves into the button.

type=type

Specify the button type, either button, submit, or reset.

tabindex=n

Specify this element’s position in the tabbing order.

value=string

Specify the value of the parameter sent to the form-processing application if this form element is selected (required).

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.