Computer Science, asked by ranjithkumar59, 11 months ago

what is the use of the CAPTION tag in tables explain it's attribute with a small code

Answers

Answered by numnutshell
3

Answer:

<table border="1">

<caption>table caption</caption>

<tr>

<td>left cell</td>

<td>right cell</td>

</tr>

</table>

----------------------------#----------------------------

The HTML <caption> tag is used for creating table captions. It is used in conjunction with the <table> tag and represents the title of the table. The <caption> tag must be inserted immediately after the <table> tag. A table should have no more than one caption.

Similar questions