HTML and CSS Reference
In-Depth Information
Attributes
HTML5 Global Attributes
span="
number
number
"
Specifies the number of columns “spanned” by the
colgroup
element. The default value
is 1. All columns indicated in the span are formatted according to the attribute settings in
colgroup
.
Example
See also
col
.
<table>
<colgroup id=
"
employinfo
"
>
<col span="2" width="100">
<col span="1" width="50" class="date">
</colgroup>
<thead> . . . (
markup continues
)