HTML - Tabelas
The table tag defines an HTML table.
An HTML table consists of the table element and one or more tr , th , and td elements.
The tr element defines a table row, the th element defines a table header, and the td element defines a table cell.
A more complex HTML table might also include caption, col, colgroup, thead, tfoot, and tbody elements.
A more complex HTML table might also include caption, col, colgroup, thead, tfoot, and tbody elements.
Time: | e-mail: | Tel: | Cidade: | |
---|---|---|---|---|
Patriots | Steelers @gmail.com | (21)12341234 | Washington | |
Patriots | Steelers @gmail.com | (21)12341234 | ||
Total : 2 |
HTML code:
x
<table>
<caption>Registration of the best teams</caption>
<thead>
<tr>
<th>Time:</th>
<th>e-mail:</th>
<th>Tel:</th>
<th>Cidade:</th>
</tr>
</thead>
<tbody>
<tr>
<td>Patriots</td>
<td>Steelers@gmail.com</td>
<td>(21)12341234</td>
<td rowSpan="2">Washington</td>
</tr>
<tr>
<td>Patriots</td>
<td>Steelers@gmail.com</td>
<td>(21)12341234</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colSpan="3">Total : 2</td>
</tr>
</tfoot>
</table>
<caption>Registration of the best teams</caption>
<thead>
<tr>
<th>Time:</th>
<th>e-mail:</th>
<th>Tel:</th>
<th>Cidade:</th>
</tr>
</thead>
<tbody>
<tr>
<td>Patriots</td>
<td>Steelers@gmail.com</td>
<td>(21)12341234</td>
<td rowSpan="2">Washington</td>
</tr>
<tr>
<td>Patriots</td>
<td>Steelers@gmail.com</td>
<td>(21)12341234</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colSpan="3">Total : 2</td>
</tr>
</tfoot>
</table>