Share via


createCaption method

Creates an empty caption element in the table.

 

Syntax

IHTMLTableCaption retVal = object.createCaption();

Parameters

This method has no parameters.

Standards information

Remarks

If no caption exists, the IHTMLTable::createCaption method creates an empty table caption, adds it to the table, and returns a pointer to it. If one or more captions already exist, the method returns a pointer to the first one on the list.

See also

Reference

IHTMLTable::createTFoot

IHTMLTable::createTHead

IHTMLTable::deleteCaption

IHTMLTable::deleteTFoot

IHTMLTable::deleteTHead