is <th> a <tr> ?! | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

is <th> a <tr> ?!

is it a subtraction of that?

25th Dec 2017, 10:52 PM
wonderNima
wonderNima - avatar
3 Réponses
+ 4
@Brent I understand now why when we color the table we put the tr tag for CSS styling. Thanks.
25th Dec 2017, 11:11 PM
wonderNima
wonderNima - avatar
+ 3
These are table cells. <th> used for table header <tr> used for element of the row <td> used for table data cells
25th Dec 2017, 11:28 PM
Oyelowo Oluwatobiloba (TBI)
Oyelowo Oluwatobiloba (TBI) - avatar
+ 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!
26th Dec 2017, 11:51 AM
wonderNima
wonderNima - avatar