What is the purpose of the tag in HTML tables?

  • It allows merging of table cells. 
  • It defines a cell that contains column headings. 
  • It provides a title or summary for the table. 
  • It specifies cell padding. 
The

tag is used to provide a title or a summary for an HTML table. It helps give context and improve the accessibility of the table by informing users about the table's content or purpose at a glance. Typically, the caption will be centered above the table. 
Add your answer
Loading...

Leave a comment

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