---
id: "dataset"
kind: "web-feature"
canonical: "https://timetostable.com/feature/dataset"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Dataset (`dataset`)

The dataset API attaches and accesses custom data on elements, using either the dataset property of HTMLElement or attributes prefixed with data-.

- **Group**: other
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes
- **Constituent BCD keys**: 4

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 7 | 2010-10-19 |
| Safari | 5.1 | 2011-07-20 |
| Firefox | 6 | 2011-08-16 |
| Firefox for Android | 6 | 2011-08-16 |
| Safari on iOS | 5 | 2011-10-12 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |

