---
id: "heading-selectors"
kind: "web-feature"
canonical: "https://timetostable.com/feature/heading-selectors"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Heading pseudo-classes (`heading-selectors`)

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.

- **Group**: Selectors
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/selectors-5/#headings
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |


