<th>...</th>

HTML4 HTML5

Creates a table header row/cell[cite: 3]. Both tags mandatory[cite: 3].

Example 1

<table>
  <tr>
    <th>Last Name</th>
    <th>First Name</th>
  </tr>
  <tr>
    <td>Kowalski</td>
    <td>Jan</td>
  </tr>
  <tr>
    <td>Nowak</td>
    <td>Dominika</td>
  </tr></table>

The browser will interpret this code as follows:

Last NameFirst Name
Kowalski Jan
Nowak Dominika