CSS caption-side property

CSS caption-side represents the position of caption vertically. It might be at the top of table or at the bottom of table.

Syntax

caption-side : top | bottom

Property values

topDefault

It aligns the caption at the top of table.

caption-side: top;

bottom

It aligns the caption at the bottom of table.

caption-side: bottom;

Applicable to

It applies to a table element.

#CSS digger
Was this article helpful?

 
Score
Name Aggregate Degree
John 70% BCS
James 80% BIT
Chips 90% BSE
caption-side: top;
×

Ctrl+D