HTML Dog
Skip to navigation

CSS Property: caption-side

Positions a caption on a specific side of a table.

Applies to boxes set to display: table-caption (of which caption HTML elements are by default).

Possible Values

ValueDescription
bottomCaption is placed below the table.
topCaption is placed above the table. Default.
inherit
initial
unset

Example


caption { caption-side: bottom; }