html:button

html:button — A button in an HTML form

Synopsis

html:button ::= [-]

Attributes

Attributes:

  • accesskey
  • disabled (enumeration)
    • “disabled”
  • name
  • onblur
  • onfocus
  • tabindex
  • type (enumeration)
    • “button”
    • “submit”
    • “reset”
  • value

Description

An HTML form “button”.

Processing expectations

Formatted inline.

Attributes

accesskey

Specifies the access key for the element

class

This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.

disabled

Indicates a control is unavailable

Enumerated values:
“disabled”

The element is disabled

lang

This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown.

name

Specifies the name of the parameter associated with a control

onblur

Script to evaluate when a control loses focus

onclick

Occurs when the pointing device button is clicked over an element.

ondblclick

Occurs when the pointing device button is double clicked over an element.

onfocus

Script to evaluate when a control receives focus

onkeydown

Occurs when a key is pressed down over an element.

onkeypress

Occurs when a key is pressed and released over an element.

onkeyup

Occurs when a key is released over an element.

onmousedown

Occurs when the pointing device button is pressed over an element.

onmousemove

Occurs when the pointing device is moved while it is over an element.

onmouseout

Occurs when the pointing device is moved away from an element.

onmouseover

Occurs when the pointing device is moved onto an element.

onmouseup

Occurs when the pointing device button is released over an element.

style

This attribute specifies style information for the current element.

tabindex

Specifies the position of the element in tabbing order

title

This attribute offers advisory information about the element for which it is set.

type

Specifies the type of button control

Enumerated values:
“button”

A regular button

“submit”

A submit button

“reset”

A reset button

value

Specifies the default value for the control

ChangeLog

This alpha reference page is $Revision: 7120 $ published Sun, 22 Jul 2007.