Web features explorer

Dataset

Widely available since 2018-01-29
Tags: api

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

Learning resources on MDN

Browser support (view on caniuse.com)