Which tag is used to group the header content in a table?

  •  
  •  
  •  
  •  
The

element is utilized in HTML tables to group together the header content in a table. It's especially useful in longer tables, as it allows browsers or other user agents to render the header distinctly (for example, keeping it visible while scrolling). Pairing this with

and

helps in structuring the table content more semantically and effectively. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *