HTML element: <caption>
Availability
|
Full support as of BlackBerry®
Device Software version 3.7.
|
The <caption> element provides a description for a table. The <caption> element must be inserted immediately after the <table> element.
By default, the BlackBerry® Browser
renders the enclosed text in normal font.
Differences between HTML, XHTML, and XHTML-MP
The align attribute for the <caption> element was deprecated in HTML 4.01. XHTML (strict) and XHTML-MP do not support this attribute.
Attributes
Attribute
|
Value(s)
|
Description
|
Supported in
|
align
|
bottom
left
right
top
|
Deprecated. This attribute defines how the caption is aligned.
|
4.6 or later
|
Common attributes
|
—
|
The <caption> element supports the following common attributes:
- class
- dir
- id
- lang
- style
- title
|
4.6 or later
|
Event attributes
|
—
|
The <caption> 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.