With the advent of HTML5, I'm starting to use figure
to enclose images and tables, among other things. Up until now I've used the table's caption
element to label the table. However, figcaption
can be used to label the figure's content. It seems that in the case of a table within a figure, there are two elements that serve more or less the same purpose.
On one hand, caption
is specific to describing the table's purpose; on the other hand figcaption
is a little broader, yet would apply to the table as well as other figure content.
Would it be appropriate to use figcaption
to label tables in figures, if for nothing else than consistency with other figures containing different elements?