HTML element: <legend>
Availability
|
Full support as of BlackBerry®
Device Software version 4.6.
|
The <legend> element specifies a caption for a <fieldset> element.
Differences between HTML, XHTML, and XHTML-MP
XHTML-MP does not support the <legend> element.
Attributes
Attribute
|
Value(s)
|
Description
|
Supported in
|
align
|
bottom
left
right
top
|
Deprecated. This attribute specifies the horizontal or vertical alignment of the caption relative to the parent <fieldset> element. The default value is top.
|
4.6 or later
|
Common attributes
|
—
|
The <legend> element supports the following common attributes:
- class
- dir
- id
- lang
- style
- title
|
4.6 or later
|
Event attributes
|
—
|
The <legend> element supports the following events:
- onclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
|
4.6 or later
|
Index
Was this information helpful? Send us your comments.