Help Center

Local Navigation

HTML element: <thead>

Availability

BlackBerry® Device Software 4.6 or later

The <thead> element defines a table header. The <thead> element must contain at least one <tr> element.

Considerations

If you use the <thead> element within a <table> element, you must also use the <tbody> and <tfoot> elements as well.

Attributes

Attribute

Value(s)

Description

Availability

align

center

char

justify

left

right

This attribute specifies the horizontal alignment of the cell content.

4.6 or later

valign

baseline

bottom

middle

top

This attribute specifies the vertical alignment of the content within the cell.

4.6 or later

Common attributes

The <thead> element supports the class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <thead> 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.