+ 4

What is the difference between <td> and <th> tag in table tags?

14th May 2020, 6:20 AM
Pavan Barve
Pavan Barve - avatar
3 Antworten
+ 22
In table tags - <th>tag :defines a table cell that contains a heading . <td>tag:defines a table cell that contains data .
14th May 2020, 11:18 AM
RICHA
+ 5
There is very little difference between <td> and <th> tag <td> tag is used to assign data(can be of any type) <th> tag is used to assign heading for your table column Also the data written in <th> tag is shown as bold while viewing the page
19th May 2020, 6:28 PM
RISHABH DHINGRA
RISHABH DHINGRA - avatar
+ 1
RICHA 🇮🇳 <td> is table data <th> is table heading That is easy to remember Only pay attantion 1-letter Thanks
11th Jan 2021, 5:49 PM
Behzod
Behzod - avatar