asp.net.ph

Skip Navigation Links

CAPTION Element | CAPTION Object

Language References


Specifies a caption for the TABLE element.HTML 3.2, 4, 4.01, 5

HTML Syntax

Remarks

When present, the CAPTION element’s text should describe the nature of the table. The CAPTION element is only permitted immediately after the TABLE start tag. A TABLE element may only contain one CAPTION element.

This element is a block element.

Members

CAPTION Members

Example

<table>
<caption valign="bottom">This caption will appear below the table.</caption>
<tr>
   <td>This text is inside the table.</td>
</tr>
</table>

This example illustrates rendering of the CAPTION element in the various alignment options.

 Show me 



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note