caption Property

MS Office 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:
Version data is listed when the mouse hovers over a link, or the link has focus.
table

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.