createCaption() createCaption() creates a new caption for the table. Syntax tcap = table.createCaption() Parameters tcap is an HTMLElement. Example mycap = mytable.createCaption(); Notes If the element already exists on the table, then this method returns that element. Specification createCaption()
createCaption() creates a new caption for the table.
tcap = table.createCaption()
tcap is an HTMLElement.
mycap = mytable.createCaption();
If the element already exists on the table, then this method returns that element.
createCaption()