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

<CAPTION> — NN all IE all HTML 3.2

Synopsis

<CAPTION>...</CAPTION>

End Tag: Required

A CAPTION element may be placed only inside a TABLE element (and immediately after the <TABLE> start tag) to denote the text to be used as a caption for the table. A caption applies to the entire table, whereas a table heading (TH element) applies to a single column or row of the table. Only one CAPTION element is recognized within a TABLE element.

A table caption is usually a brief description of the table. A longer description may be written for the SUMMARY attribute of a TABLE element for browsers that use text-to-speech technology for users who cannot see browsers. The primary distinguishing attribute of the CAPTION element is ALIGN, which lets you define where the caption appears in relation to the actual table.

Example

<TABLE ...>
<CAPTION CLASS="tableCaptions">
    Table 3-2. Sample Inverse Framistan Values
</CAPTION>
...
</TABLE>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

ALIGN

DIR

LANG

STYLE

VALIGN

CLASS

ID

LANGUAGE

TITLE

 

Event Handler Attributes

Handler

NN

IE

HTML

onAfterUpdate

n/a

4

n/a

onBeforeUpdate

n/a

4

n/a

onBlur

n/a

4

n/a

onClick

n/a

4

4

onDblClick

n/a

4

4

onDragStart

n/a

4

n/a

onFocus

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

onResize ...

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