CSS caption-side Property


This property is used to specify the location of the table caption. It's found in HTML tables. This property is applicable to any element whose display property is set to caption-side.

Syntax

Example

Preview

Property Values

Value Description
top The caption is displayed above the table. This is the default setting.
bottom Place the caption beneath the table.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
caption-side 1.0 1.0 1.0 8.0 4.0