Click to Rate and Give Feedback
Properties
 caption Property
caption Property

Retrieves the caption object of the table.

Syntax

HTMLN/A
Scripting[ oCaption = ] TABLE.caption

Possible Values

oCaptionString that receives the table caption, or the following value:
nullDefault. 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 World Wide Web link.

Applies To

TABLE
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker