Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
caption
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Collapse the table of content
Expand the table of content

caption property

Retrieves the caption object of a table.

Syntax

JavaScript

v = object.caption

 

Property values

Type: Object

Object that receives the table caption, or null if no caption exists.Address of a pointer to an IHTMLTableCaption interface, or null if no caption exists..

Standards information

Remarks

If a table contains multiple captions, this property returns the first one.

Examples

This example sets the inline style for the caption property.


document.all.myTable.caption.style.color = "blue" 

See also

table
Reference
createCaption
deleteCaption

 

 

Show:
© 2015 Microsoft