Sets or retrieves the number columns in the table that the object should span.
![]() |
Syntax
| HTML | <element colspan="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Integer
the number of columns to span.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 11.2.6
Remarks
This property can be changed only after the page has been loaded.
See also
Build date: 11/28/2012
