HTML th TagNovember 11, 2010 by: aBisona
A simple HTML table, containing two columns and two rows:
Try it yourself »
(more examples at the bottom of this page)
Definition and Usage
The <th> tag defines a header cell in an HTML table.
An HTML table has two kinds of cells:
- Header cells – contains header information (created with the th element)
- Standard cells – contains data (created with the td element)
The text in a th element is bold and centered.
The text in a td element is regular and left-aligned.