subcaption
/ nested caption
tag
#9865
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
I have five or six tables that all display the same type of data and are seperated by status. I would like to do this in a single table so that the columns have a consistent width.
What solutions exist today?
You can use an
h2
in between multiple tables. But then the tables have different column widths.How would you solve it?
New
A nested
caption
tag (as a first child of atbody
tag) indicates the caption for the specific tbody. It may have a different default style from acaption
that isn't a child of atbody
:Old
A new HTML tag,
subcaption
, that behaves identically to thecaption
tag, except it can be placed only after thethead
and before the lasttbody
, but any number of times, and might have different default styling. For example:Anything else?
Alternatively, some sort of CSS property could be made to sync columns across tables. I haven't thought about this that much. All I know is that I want to avoid using JS for something this simple.
The presence ot absence of this feature could possibly be used for fingerprinting.
The text was updated successfully, but these errors were encountered: