O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

<THEAD> — NN n/a IE 3 HTML 4

Synopsis

<THEAD>...</THEAD>

End Tag: Optional

A THEAD element is a special-purpose container of one or more rows of table cells rendered at the top of the table. No more than one THEAD element may be defined within a single TABLE element, and the THEAD element should be located in the source code immediately after the TABLE element’s start tag. You are free to use any combination of TD and TH elements you like within the THEAD element. A THEAD element is a row grouping, like the TBODY and TFOOT elements. Navigator 4 ignores the THEAD tag and therefore renders the nested TR element(s) as regular TR elements in source code order.

Example

<TABLE COLS=3>
<THEAD>
<TR>
<TH>Time<TH>Event<TH>Location
</TR>
</THEAD>
<TFOOT>
<TR>
<TH>Time<TH>Event<TH>Location
</TR>
</TFOOT>
<TBODY>
<TR>
<TD>7:30am-5:00pm<TD>Registration Open<TD>Main Lobby
</TR>
<TR>
<TD>9:00am-12:00pm<TD>Keynote Speakers<TD>Cypress Room
</TR>
</TBODY>
</TABLE>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

ALIGN

CHAROFF

ID

LANGUAGE

TITLE

BGCOLOR

CLASS

LANG

STYLE

VALIGN

CHAR

DIR

   

Event Handler Attributes

Handler

NN

IE

HTML

onClick

n/a

4

4

onDblClick

n/a

4

4

onDragStart

n/a

4

n/a

onHelp

n/a

4

n/a

onKeyDown

n/a

4

4

onKeyPress

n/a

4

4

onKeyUp

n/a

4

4

onMouseDown

n/a

4

4

onMouseMove

n/a

4

4

onMouseOut

n/a

4

4

onMouseOver

n/a

4

4

onMouseUp

n/a

4

4

onSelectStart

n/a

4

n/a

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required