FANDOM


The HTML <caption></caption> element defines a table caption. This optional element must be inserted immediately after the <table> tag. You can specify only one caption per table. Usually the caption will be centered above the table. When the <table> element that is the parent of the <caption> which is the only descendant of a <figure> element, use the <figcaption> element instead.


HTML example:

<table>
     <caption>Are tomatoes fruits?</caption>
     <tr>
       <th>Yes</th>
       <th>No</th>
     </tr>
     <tr>
       <td>5</td>
       <td>3</td>
     </tr>
</table>

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.