Help Center

Local Navigation

HTML element: <caption>

Availability

BlackBerry® Device Software 3.7 or later

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.

Considerations

The align attribute for the <caption> element was deprecated in HTML 4.01.

Attributes

Attribute

Value(s)

Description

Availability

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 class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <caption> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.

For more information, see HTML event attributes.

Index


Was this information helpful? Send us your comments.