8.4. Etiquetas adicionales

8.4. Etiquetas adicionales

by didacticode

HTML

<table>
  <thead>
    <tr>
      <th>Examen</th>
      <th>Nota</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>HTML</td>
      <td>9</td>
    </tr>
    <tr>
      <td>CSS</td>
      <td>7</td>
    </tr>
    <tr>
      <td>Javascript</td>
      <td>8</td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td>Media</td>
      <td>8</td>
    </tr>
  </tfoot>
</table>

CSS

table, th, td {
  border: 1px solid;
  border-collapse: collapse;
  padding: 10px;
}