'createCaption()' Syntax, Parameters and Note : createCaption « Javascript Methods « JavaScript Reference

'createCaption()' Syntax, Parameters and Note

Note:

Creates a <caption> element associated with the specified table. 
The contents of the <caption> must also be set at run time.
    
Syntax:
    
document.getElementById("tableID").createCaption()
document.all.tableID.createCaption() // IE only

    

      
      








Related examples in the same category

1.'createCaption()' Example
2.'createCaption()' is applied to