Table Headers
The <th> element defines a header cell in a table. It is bold and centered by default. Use the scope attribute to clarify whether a header applies to a column (scope="col") or a row (scope="row"). This is vital for accessibility.
Table Sections: thead, tbody, tfoot
HTML tables can be divided into three sections: <thead> groups the header rows, <tbody> groups the body rows, and <tfoot> groups the footer rows. These groupings allow different CSS styling per section and enable the browser to scroll the body independently of a fixed header in long tables.