Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

HTMLTableElement.createCaption()

The HTMLTableElement.createCaption() method returns the caption for the table. If no caption element exists on the table, this method creates it, then returns it.

Syntax

HTMLTableElement = table.createCaption()

Example

mycap = mytable.createCaption();

Specification

Document Tags and Contributors

 Contributors to this page: teoli, kscarfone, Sheppy, ethertank, RobG, Dria, JesseW
 Last updated by: teoli,