The <thead> part is employed in conjunction with the <tbody> and <tfoot> components to specify every a part of a table (header, body, footer).
Browsers will use these components to modify scrolling of the table body severally of the header and footer. Also, once printing an outsized table that spans multiple pages, these components will modify the table header and footer to be written at the highest and bottom of every page.
The <thead> tag should be utilized in the subsequent context: As a baby of a <table> part, when any <caption>, and <colgroup> components, and before any <tbody>, <tfoot>, and <tr> components.
The <thead>, <tbody>, and <tfoot> components won't have an effect on the layout of the table by default. However, you'll be able to use CSS to vogue these components.
Comments
Post a Comment