button Element
This is preliminary documentation and subject to change.
Specification
Spec. 7.5.3.1.4
Description
The button element is a user input object.
Syntax
<button
accessKey
class
id
state:actioned
state:enabled
state:focused
state:pointer
state:value
style
style:anchor
style:backgroundColor
style:backgroundFrame
style:backgroundImage
style:backgroundPositionHorizontal
style:backgroundPositionVertical
style:backgroundRepeat
style:blockProgressionDimension
style:border
style:borderAfter
style:borderBefore
style:borderEnd
style:borderStart
style:breakAfter
style:breakBefore
style:contentHeight
style:contentWidth
style:crop
style:display
style:displayAlign
style:endIndent
style:flip
style:height
style:inlineProgressionDimension
style:navDown
style:navIndex
style:navLeft
style:navLeftDown
style:navLeftUp
style:navRight
style:navRightDown
style:navRightUp
style:navUp
style:opacity
style:padding
style:paddingAfter
style:paddingBefore
style:paddingEnd
style:paddingStart
style:position
style:scaling
style:startIndent
style:suppressAtLineBreak
style:visibility
style:width
style:x
style:y
style:zIndex
xml:base
xml:lang
xml:space
>
meta* p?
</button>
Parent/Child Elements
Hierarchy | Elements |
Parent | div, p, span |
Child | meta, p |
Remarks
Use the p child element to contain alternative text.
See Also