'colSpan' Syntax and Note : colSpan « Javascript Properties « JavaScript Reference

'colSpan' Syntax and Note

Note:

Read and write property. 
Set the number of columns in a table that <td> or <th> element will span.
    
Syntax:
    
document.getElementById("elementID").colSpan = value
document.all.elementID.colSpan = value // IE only

    

      
      








Related examples in the same category

1.'colSpan' Example
2.'colSpan' is applied to