Retrieves the caption object of the table.
Syntax
| HTML | N/A |
|---|
| Scripting | [ oCaption = ] TABLE.caption |
|---|
Possible Values
| oCaption | String that
receives the table caption, or the following value:| null | Default. No caption exists for the table. |
|
The property is read-only.
The property has a default value of
null.
Example
This example sets the inline style for the caption property.
document.all.myTable.caption.style.color = "blue"
Standards Information
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1
.
Applies To