The <th> tag defines a header cell in an HTML table.
An HTML table has two kinds of cells:
The text in <th> elements are bold and centered by default.
The text in <td> elements are regular and left-aligned by default.
Month | Savings |
---|---|
January | $100 |
Month | Savings |
---|---|
January | $100 |