is <th> a <tr> ?! | Sololearn: Learn to code for FREE!

+3

is <th> a <tr> ?!

is it a subtraction of that?

12/25/2017 10:52:27 PM

wonderNima

10 Answers

New Answer

+4

@Brent I understand now why when we color the table we put the tr tag for CSS styling. Thanks.

+3

These are table cells. <th> used for table header <tr> used for element of the row <td> used for table data cells

+3

@Martin @Brent That actually occured to me when inputing color in the tr's style. I thought if we put color only in tr's style th's color would also be applied, then th is a tr itself!

+1

No problem! Good luck with what you are trying to accomplish 😉

+1

@Martin Taylor You can use only TH or only TD so TH is a TD but Bold..

0

Actually, a TH is a TR but bold. Therefore, TH stands for "Table Header" and TR stands for "Table Row".