th Tag for Table Heading

Certify and Increase Opportunity.
Govt. Certified HTML5 Developer

Heading for a table can be defined using <th> tag. It replaces the <td> tag in the top row of the table which is usually used to represent table heading. It can also be used else where in the table for emphasis.

HTML code

<table border=”1″>


<th>Heading 1</th>

<th>Heading 2</th>



<td>Cell 1</td>

<td>Cell 2</td>



Browser output

The th Tag for Table Heading

Get industry recognized certification – Contact us