Limited Selectors

Heading pseudo-classes

The :heading and :heading() CSS pseudo-classes match headings of varying levels. The :heading pseudo-class matches any heading (<h1> through <h6>). The :heading() selector matches any of the given levels. For example, :heading(1, 2) matches headings level 1 and 2.

Baseline Status
Limited
Missing ≥1 target
First Core Launch
—
Core-3 Stability
Limbo (—)
Missing: chrome, firefox, safari
BCD Keys Mapped
2
Group: Selectors

Browser Support Releases

BrowserTypeVersionRelease Date
No dated releases recorded.

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.selectors.heading CSS 73d limbo
css.selectors.headingfunction CSS — limbo