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.
Loading...
Related Quiz
-
Imagine you need to create a webpage that is both visually appealing and SEO-optimized using various media elements. How can the
and elements be used to enhance SEO while maintaining aesthetic appeal? - How can "th" elements be made to work as row headers instead of column headers?
- What attribute is used in a hyperlink to define the email address that the email will be sent to?
- What is the role of the "tfoot" element in HTML tables?
- Which element is used to define the title of a work (e.g., a book, a song, a movie) that is being cited?