Why would we want to split a table into 3 main sections?

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:

  1. enhanced screen reading experience for the visually impaired
  2. <thead> and <tfoot> information can be shown on each page for printing
  3. with a bit of CSS, <thead> and <tfoot> information can be seen while scrolling through long tables.