---
title: Table Tag
---
## Table Tag
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds  -->
The `<table>` tag allows you to display a table on your webpage.

### Example
```html
<table>
  <thead>
    <tr>
      <th>Full Name</th>
      <th>Job Role</th>
      <th>Location</th>
      </tr>
  </thead>
  <tbody>
    <tr>
      <td>Sherlock Holmes</td>
      <td>Detective</td>
      <td>London</td>
    </tr>
    <tr>
      <td>Harry Potter</td>
      <td>Wizard</td>
      <td>Godric's Hollow</td>
    </tr>
    <tr>
      <td>Winnie the Pooh</td>
      <td>Honey Taster</td>
      <td>Five Hundred Acre Wood</td>
    </tr>
  </tbody>
</table>
```
This code block would produce the following output:

<table>
  <thead>
    <tr>
      <th>Full Name</th>
      <th>Job Role</th>
      <th>Location</th>
      </tr>
  </thead>
  <tbody>
    <tr>
      <td>Sherlock Holmes</td>
      <td>Detective</td>
      <td>London</td>
    </tr>
    <tr>
      <td>Harry Potter</td>
      <td>Wizard</td>
      <td>Godric's Hollow</td>
    </tr>
    <tr>
      <td>Winnie the Pooh</td>
      <td>Honey Taster</td>
      <td>Five Hundred Acre Wood</td>
    </tr>
  </tbody>
</table>


#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table)

