HTML <th> Tag


The <th> tag is used to specify a header cell within an HTML table.

An HTML table contains two types of cells:

  • Header cells hold header information and are created using the <th> element.
  • Data cells hold information and are made using the element.

The words inside <th> elements are naturally made bold and centered.

The content inside <td> elements is normally aligned to the left in a standard manner.