caption-side

The caption-side CSS property specifies the position of the caption box with respect to the table box.

Syntax

CSS

caption-side: value;

JS

object.style.captionSide = "value";

Values

<'caption-side'> = top | bottom | inherit
top

Positions the caption box above the table box.

bottom

Positions the caption box below the table box.

inherit

Specifies the same value as the parent.

Initial

top

Examples

bottom

top

JS

Internal

border-collapse

border-spacing

empty-cells

table-layout

External

World Wide Web Consortium (W3C)

Home Menu