Every table row begins with an opening <tr> tag and concludes with a closing </tr> tag.
“tr“ represents table row.
Example
<table> <tr> <td>Emil</td> <td>Tobias</td> <td>Linus</td> </tr> <tr> <td>16</td> <td>14</td> <td>10</td> </tr> </table> |
You can include any number of rows in a table; however, ensure that each row contains an equal number of cells.
Note: Occasionally, a row may contain a different number of cells compared to others. Further details on this topic will be covered in a subsequent chapter. |