Normally, there are two types of cells available in a table. They are "Header and Standard Cell". 1] Header Cells are created by <th>. It owns header information. 2] Standard Cells are created by <td>. It has general information. Element Specific attributes supported by this tag are:
Attribute
Value
Description
colspan
number
Groups the cells from the specified number of columns into a sole cell.
headers
header_id
Denotes the multiple header cells to which the cell is related to.
rowspan
number
Combines the cells from the specified number of rows into an individual cell.
scope
col, colgroup, row, rowgroup
Denotes the header cell acts as header for column, row or group of columns or row.
Example Code:
Result :
Internet Explorer
Chrome
Firefox
Opera
Popular Browser
Well Known Browser
Most Used Browser
Reliable Browser
It must be placed inside the <tr> and </tr> should be placed inside the <table>.