New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# table

Defines a container for tabular data.

Example: Copy

Name Instrument
Name Instrument
John Lennon Rhythm Guitar
Paul McCartney Bass
George Harrison Lead Guitar
Ringo Starr Drums
<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Instrument</th>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <th>Name</th>
      <th>Instrument</th>
    </tr>
  </tfoot>
  <tbody>
    <tr>
      <td>John Lennon</td>
      <td>Rhythm Guitar</td>
    </tr>
    <tr>
      <td>Paul McCartney</td>
      <td>Bass</td>
    </tr>
    <tr>
      <td>George Harrison</td>
      <td>Lead Guitar</td>
    </tr>
    <tr>
      <td>Ringo Starr</td>
      <td>Drums</td>
    </tr>
  </tbody>
</table>