What is benefit of using table headers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is benefit of using table headers?

13th Nov 2017, 3:22 AM
Harsh Wellengsly
Harsh Wellengsly - avatar
3 Answers
+ 4
Table headers are automatically bolded. They are used as column titles. They also are useful for separating the styles of heads and data
13th Nov 2017, 3:37 AM
carson briggs
carson briggs - avatar
+ 4
They automatically golden the text! instead of nesting <b> in <td> tags you just use <th>
13th Nov 2017, 6:29 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 2
Beyond carson's answer, table headers are also automatically centered and can be used for row titles. Having titles of the table separated from the other cells makes using getElementsByTagName available to access those cells.
13th Nov 2017, 4:56 AM
John Wells
John Wells - avatar