Help:Table caption

The caption tag is used inside the HTML element "table". This can also be done indirectly using the code "|+" as part of the wikicode for a table.

Captions are placed above the table by default. Captions can also be placed below, to the left, or to the right of the table, based on the value of the "align" parameter.

A HTML &lt;caption&gt; tag can be created by using following wiki code: |+ Caption

which generates the following HTML code: &lt;caption&gt;Caption&lt;/caption&gt;

You can also use parameters in wiki code: |+ params|Caption

which will generate the HTML code: &lt;caption params&gt;Caption&lt;/caption&gt;

CSS box model equivalent: display: table-caption;

The caption tag accepts the following parameters: align = "top|bottom|left|right"

Equivalent stylesheet (CSS) parameters: style="caption-side: top|bottom|left|right|inherit;"

For a right-aligned caption below the table: |+ align="bottom" style="caption-side: bottom; text-align: right;" | Caption at bottom