html question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

html question

what is difference between <th>(table headers) and <td>(table data)??,,, usage difference

27th Apr 2020, 8:54 PM
Manuel
2 Answers
+ 4
The <th> tag defines a header cell in an HTML table. An HTML table has two kinds of cells: Header cells - contains header information (created with the <th> element) Standard cells - contains data (created with the <td> element) The text in <th> elements are bold and centered by default. The text in <td> elements are regular and left-aligned by default.
27th Apr 2020, 8:57 PM
Cmurio
Cmurio - avatar
0
but in work those are don't distinguish, isn't it??
27th Apr 2020, 9:13 PM
Manuel