- 1

What is benefit of using table headers?

13th Nov 2017, 3:22 AM
Harsh Wellengsly
Harsh Wellengsly - avatar
3 Antworten
+ 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
᠌᠌Code X
᠌᠌Code X - 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