Th Tag
The <th>
tag allows you to define a header cell in HTML tables. By default, most browsers will bold and center data in these tags.
Example
<table>
<tr>
<th>Movie</th>
<th>Rating</th>
</tr>
<tr>
<td>Die Hard</td>
<td>5 Stars</td>
</tr>
</table>
This markup will create the following output:
Movie | Rating |
---|---|
Die Hard | 5 Stars |