HTML <th> tag
HTML th tag:
This is a double tag. <th> This is the beginning tag and </th> this is the closing tag. This <th> element defines a header cell in a table which are display like bold, center-align text. That <th> element is a header cell that can appear in the first row of table. That <th> element can be defined into the <thead> tag, which has some browser advantages, but it is optional. This tag using for making table header.
<th>= Table header
Copy this code and past your page.
Example:
Result:
Table Heading 1 | Table Heading 2 |
---|---|
Table cell 1 | Table cell 2 |
<tr/> = table row/table brack.
<td> = table cell.
<th> = table header.
<td> = table cell.
<th> = table header.
HTML <th> tag
Support Browser
- Elements Attributes: abbr, align, axis, bgcolor, char, charoff, colspan, headers, height, nowrap, rowspan, scope, sorted, valign, width etc.
- Html Version Differenc: Differences Between HTML 5 and 4.01.
If you want to make table header using HTML code, Use HTML <th> element.
1. What is the <th>tag ?
2. What is the using for <th> tag ?
3. What is the definition of <th> tag ?
4. What is the <th> tag mean ?
5.How can You make table header using HTML?