web-feature: Dataset

baseline logo Widely available

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