join: new@juude
get alerts for new articles
CLOSE WINDOW
join: new@juude
get alerts for new articles
CLOSE WINDOW
intro
|
layout tags
|
iframes
|
lists
|
forms
|
all tags
|
tables
|
attributes
|
meta
html
5
Tables - Rowspan
INTRO
TAGS
SCOPE
ROWSPAN
COLSPAN
COLGROUP
<td rowspan="number"></td>
Rowspan can be used as an attribute for the td or th tag. When used the cell can span a number of rows.
Roses
Tulips
Daffodils
crimson
rembrandt
jonquilla
rowspan 2
parrot
triandras
fringed
tezetta
th{
background-color: #eee;
font-style: normal;
}
<table>
<thead>
<tr>
<th>Roses</th>
<th>Tulips </th>
<th>Daffodils</th>
</tr>
</thead>
<body>
<tr>
<td>crimson</td>
<td>rembrant</td>
<td>jonquilla</td>
</tr>
<tr>
<td rowspan="2">rowspan 2 </td>
<td scope="col">parrot</td>
<td>triandras</td>
</tr><tr>
<td>fringed</td>
<td>tezetta</td>
</tr>
<tbody>
</table>