createCaption Method

MS Office DHTML, HTML & CSS

createCaption Method


Creates an empty CAPTION element in the TABLE.

Syntax

oCaption = TABLE.createCaption()

Return Value

Returns a CAPTION object. If a CAPTION already exists, createCaption() returns the existing element; otherwise, it returns a pointer to the element created. If the method fails, it returns null.

Example

This example uses the createCaption method to create a CAPTION.

myCaption = document.all.myTable.createCaption()

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

See Also

createTFoot, createTHead, deleteCaption, deleteTFoot, deleteTHead


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.