Click to return to the DHTML, HTML     
canHaveChildren Property     cellIndex Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

caption Property


Retrieves the CAPTION object of the TABLE.

Syntax

HTMLN/A
Scripting[ oCaption = ] table.caption

Possible Values

oCaption Object that specifies the table caption, or the following value:
nullNo 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
table


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.