Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

HTML caption element

3 tags 1 category

The <caption> HTML element specifies the caption (or title) of a table, providing the table an accessible name or accessible description.

If included, the <caption> element must be the first child of its parent <table> element. When a <table> is nested within a <figure> as the figure’s only content, it should be captioned via a <figcaption> for the <figure> instead of as a <caption> nested within the <table>. Any background-color applied to a table will not be applied to its caption. Add a background-color to the <caption> element as well if you want the same color to be behind both.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…