How to group header content of a table using HTML5 ?
In this article, we define to group the header content in a table by using the <th> tag in HTML to set the header cell of a table. Two types of cells in an HTML table.
- Header Cell: It is used to hold the header information.
- Standard Cell: It is used to hold the body of data.
The working of both tags (<th> and <td>) are same but the text properties are different. In <th> tag, text is bold and centered, and in <td> tag, text is regular and left align by default.
<th> Contents... </th>
Supported Browsers are listed below:
- Google Chrome
- Internet Explorer
My Personal Notes arrow_drop_up
Please Login to comment...