+ 3

What's the difference between "<td>" and "<th>" on HTML

16th Jan 2018, 4:19 AM
Ale LĂłpez
Ale LĂłpez - avatar
4 Answers
+ 6
Expanding further on the other answers: th: Column Header (title) on the 1st row. td: Column Data on each row that follows. See sample table below: SL User | Level | XP => Use <th> here. ----------------------------------------- David | 16 | 40400 => Use <td> here. ----------------------------------------- Bob | 15 | 18323 => Use <td> here. -----------------------------------------
16th Jan 2018, 5:58 AM
David Carroll
David Carroll - avatar
+ 30
td:-data cell. th:- header cell. https://www.w3schools.com/tags/tag_th.asp
16th Jan 2018, 4:26 AM
Elizabeth🌾
Elizabeth🌾 - avatar
+ 5
td is the data which goes in table th is also the data which goes in table but bold text which act as heading for the table mostly
16th Jan 2018, 4:49 AM
prachal goyal
prachal goyal - avatar
+ 4
Td => table data column with normal text Th => table header column with bold text
16th Jan 2018, 4:26 AM
Elie Douaihy
Elie Douaihy - avatar