colspan

Column Span (NISO JATS table model)

Table attribute used to request horizontal spanning of more than one column. (This attribute is based on and intended to be converted easily to the XHMTL colspan attribute.)

Remarks

To specify horizontal spanning, this attribute contains the number of columns that a table cell will span. (The table cell will be tagged with a <td> or <th> element.)

Used on Elements: <td>, <th>

ValueMeaning
Counting numberHow many column widths this cell will span, for example, “3”.
Default value1 (Spans 1 column)

Example

...
<tr>
<th/>
<th colspan="3" align="center" rowspan="1">Institutional
care</th>
<th align="left"/>
<th colspan="2" align="center" rowspan="1">&#x2003;Bed use (days)</th>
</tr>
...