The CSS property caption-side
allows you to align the <caption>
element to either the top or bottom of a table:
https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side
How can I set the caption to appear on both the top and bottom? This could be useful for larger tables.
Ideally I would like to avoid putting a <p>
tag or similar above the table and effectively duplicating the caption mark-up.