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
Value | Description |
---|---|
bottom | Caption is placed below the table. |
top | Caption is placed above the table. Default. |
inherit | |
initial | |
unset |
Example
caption { caption-side: bottom; }