| DocBook: The Definitive Guide 2.0.17 (Alpha)

# thead

$Revision: 1666 $

$Date: 2002-06-12 07:19:37 -0400 (Wed, 12 Jun 2002) $

thead — A table header consisting of one or more rows

## Synopsis

### Content Model

    thead ::=
    ((tr+|
      (colspec*,row+)))

### Attributes

Common attributes

Name | Type | Default
ondblclick | CDATA | None
onkeydown | CDATA | None
onkeyup | CDATA | None
onmouseup | CDATA | None
onmouseover | CDATA | None
valign |
Enumeration:
bottom
middle
top
| None
onmouseout | CDATA | None
onmousemove | CDATA | None
style | CDATA | None
xml:lang | NMTOKEN | None
onkeypress | CDATA | None
onmousedown | CDATA | None
onclick | CDATA | None
title | CDATA | None
class | CDATA | None

## Description

The `THead` wrapper identifies the `Row`s of a table that form the head of the table, as distinct from the body (`TBody`) and foot (`TFoot`) rows.

Header rows are always rendered at the beginning of the table.

### Processing expectations

This element is expected to obey the semantics of the CALS Table Model Document Type Definition, as specified by OASIS Technical Memorandum TM 9502:1995 . Header rows are often presented in an alternate typographic style, such as boldface.

In paged media, if a table spans across multiple pages, header rows are printed at the top of each new page.

### Parents

These elements contain thead: `entrytbl`, `informaltable`, `table`, `tgroup`.

### Children

The following elements occur in thead: `colspec`, `row`, `tr`.

## Attributes

valign

  `VAlign` specifies the vertical alignment of text (and other elements) within the cells of this `THead`.

## See Also

`colspec`, `entry`, `entrytbl`, `informaltable`, `row`, `spanspec`, `table`, `tbody`, `tfoot`, `tgroup`.

## Examples

For examples, see `table`.

th |  | tip

Copyright © 1999, 2000, 2001, 2002, 2003 O'Reilly & Associates, Inc. All rights reserved.