En esta sección, crearemos una tabla para presentar las estadísticas de la selección colombiana de fútbol. Aprenderá a estructurar una tabla en filas y columnas ya asignar celdas como encabezados.
| Nombre | Apellido | Nacionalidad | Años | Posición |
|---|---|---|---|---|
| David | Ospina Ramírez | Colombia | 33 | Portero |
<table> </table>
<table>
<thead>
</thead>
<tbody>
</tbody>
</table>
<table>
<thead>
<tr>
<th>Nombre</th>
<th>Apellido</th>
<th>Nacionalidad</th>
<th>Años</th>
<th>Posición</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<tr> significa la fila de la tabla.<th> significa una celda de encabezado de tabla.<table>
<thead>
<tr>
<th>Nombre</th>
<th>Apellido</th>
<th>Nacionalidad</th>
<th>Años</th>
<th>Posición</th>
</tr>
</thead>
<tbody>
<tr>
<td>David</td>
<td>Ospina Ramírez</td>
<td>Colombia</td>
<td>33</td>
<td>Portero</td>
</tr>
</tbody>
</tabla>
| Nombre | Apellido | Nacionalidad | Años | Posición |
|---|---|---|---|---|
| David | Ospina Ramírez | Colombia | 33 | Portero |
| Carlos | Eccehomo Cuesta Figueroa | Colombia | 22 | Defensa |
| Juan Guillermo | Cuadrado Bello | Colombia | 33 | Centrocampista |
| Radamel Falcao | García Zárate | Colombia | 35 | Delantero |
Fronteras
<head> escribiendo 'enlace' en una nueva línea y seleccionando 'enlace:css'.td, th {
border-width: 1px;
border-style: solid;
}