我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
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();