Retrieves the CAPTION object of the TABLE.
Syntax
HTML N/A Scripting [ oCaption = ] table.caption
Possible Values
oCaption Object that specifies the table caption, or the following value:
null No caption exists for the table. The property is read-only with a default value of null.
Example
This example sets the inline style for the caption property.
Sample Code
document.all.myTable.caption.style.color = "blue"
Applies To
table