Table | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Table

What are the differences between <td> and <th>??

7th Apr 2018, 4:44 AM
Yiwen Zhao
Yiwen Zhao  - avatar
2 Réponses
+ 9
<th> is for the column header. <td> contains data below the header.
7th Apr 2018, 5:15 AM
David Carroll
David Carroll - avatar
+ 1
basically <td> fullform says itself it is "table data" and <th> is "table header". So <td> is data of the table and <th> is heading of column.
7th Apr 2018, 6:43 AM
Abhishek Rawat
Abhishek Rawat - avatar