CSS caption-side property

CSS caption-side

CSS caption-side property is used in HTML Table, to position the caption tag elements.

CSS caption-side property values are

  • bottom
  • top

bottom value for css caption-side property

It is used to position the caption element below the table

Example

Try Yourself

top value for css caption-side property

It is used to position the caption element above the table.

Example

Try Yourself