![]() |
VOOZH | about |
The colspan attribute in the <th> tag is used to make a header cell span across multiple columns. It helps in creating grouped or merged table headers.
Syntax:
<th colspan="number"> Attribute Values: It contains single value number which contains the numeric value to sets the number of column a header cell should span.
Example: This example illustrates the use of colspan attribute in <th> tag.