Contact Number
Email Address

caption

caption

Definition and Usage

  the <caption> tag is a block element used to add a title to a table. It should be noted that if you are using the <caption> tag inside of a <table> tag that is the only element in a <figure>, use <figcaption> instead. The <caption> tag must be inserted immediately after the <table> tag. The HTML <caption> element represents the title of a table. Though it is always the first descendant of a <table>, its styling, using CSS, may place it elsewhere, relative to the table.The HTML <caption> tag is used for creating a caption for a table. There could be only one caption per table.   The <caption> element is used to add a caption to an HTML table. A <caption> must appear in an HTML document as the first descendant of a parent <table>, but it may be positioned visually at the bottom of the table with CSS.

Syntax

<table> <caption>title</caption> <tr> <td></td> <td></td> </tr> </table>