HTML CSS Reference/HTML Attributes Reference/colspan
"colspan" Example
<source lang="html4strict">
<HTML> <head><Title>Example For colspan</Title></head> <BODY>
tHeader (3 cells spanned) | Second Header | ||
---|---|---|---|
Cell 1 content | Cell 2 content | Cell 3 content | Cell 4 content |
</BODY> </HTML>
</source>
colspan is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<td> <th> | +----------------+--------------------------------------------------------------+
</source>
"colspan" Syntax and Note
<source lang="html4strict">
Note:
This attribute sets how many columns in a table a particular cell can span.
Syntax:
<element colspan="value"> . . . </element>
</source>