The <caption> tag inside the <table. tag is used to provide caption to the table.Example:<html><body><table border="1"> <caption>Monthly Savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>August</td> <td>1000</td> </tr> <tr> <td>September</td> <td>500</td> </tr></table></body>
HTML
Topic: Tables
How can you provide heading to a table?
Browse random answers:
How to create tables in an HTML document?
Can I use percentage values for <TD WIDTH=...>?
Explain the <th> tag?
Can I nest tables within tables?
Why doesn't <TABLE WIDTH="100%"> use the full browser width?
Why is there extra space before or after my table?
How do I align a table to the right (or left)?
How can I use tables to structure forms?
How do I center a table?
Why doesn't <TABLE WIDTH="100%"> use the full browser width?
Why is there extra space before or after my table?
What are the differences between cell spacing and cell padding?
How do I align a table to the right (or left)?
How can you provide heading to a table?
How to have a table cell that spans two columns in HTML?
What is the relationship between the border and rule attributes?