Help Center

Local Navigation

HTML element: <thead>

Availability

Full support as of BlackBerry® Device Software version 4.6.

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

Differences between HTML, XHTML, and XHTML-MP

XHTML-MP does not support the <thead> 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

Supported in

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 following common attributes:

  • class
  • dir
  • id
  • lang
  • style
  • title

4.6 or later

Event attributes

The <thead> element supports the following event attributes:

  • onclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup

4.6 or later

Index


Was this information helpful? Send us your comments.