233k views
4 votes
The purpose of the ________ element is to describe the contents of a table.

1 Answer

4 votes
<caption> element.

It is used to add a caption to a HTML table. With CSS, it may be positioned right at the bottom of the table but in HTML, it must appear as the 1st descendant of a parent <table>. Note that you can specify only one caption in a single table.






User Syed Ali Naqi
by
8.4k points