dataattributes
dataattributes are a feature of HTML5 that allows developers to store custom data private to the page or application. This custom data is stored in attributes prefixed with data. For example, data-user-id="123" would be a valid data attribute.
The purpose of dataattributes is to allow the embedding of additional information into any HTML element without
When you access dataattributes in JavaScript, they are available through the dataset property of the DOM element.
Dataattributes should not be used for any presentation-related information, as this is the role of CSS. They