0

Table tags on html

I don't know how column is counted in an html code.I understand the rows .

15th Aug 2025, 7:56 AM
Ijesekah Amurawaye
1 Réponse
+ 1
<Table> is a parent tag that contains table rows and cells. <tr> is a child tag that contains cells and is a single table row. <td> is a child tag of the parent <tr>. <td> is a cell that stores data in the form of text or images. Example: <table> <thead> <tr> <th>Animal</th> <th>Age</th> <th>Breed</th> </tr> </thead> <tbody> <tr> <td>Cat</td> <td>5</td> <td>Ragdoll</td> </tr> <tr> <td>Dog</td> <td>3</td> <td>Labrador</td> </tr> </tbody> </table>
15th Aug 2025, 10:55 AM
Mila
Mila - avatar