Question
Why would we want to split a table into 3 main sections?
Answer
The <tbody>
<thead>
and <tfoot>
tags that we learned about in this lesson give our tables semantic meaning. These sectioning semantic tags improve the user experience in a number of ways:
- enhanced screen reading experience for the visually impaired
-
<thead>
and<tfoot>
information can be shown on each page for printing - with a bit of CSS,
<thead>
and<tfoot>
information can be seen while scrolling through long tables.