‹ HTML

<table>

Define una tabla de datos. Se compone de filas <tr> con celdas <th> (encabezado) o <td> (dato).

Vista previa

Codigo

ejemplo.html
<table border="1" cellpadding="6" style="border-collapse:collapse;">
  <tr>
    <th>Nombre</th>
    <th>Edad</th>
  </tr>
  <tr>
    <td>Ana</td>
    <td>28</td>
  </tr>
  <tr>
    <td>Luis</td>
    <td>34</td>
  </tr>
</table>