Home / HTML Tips Generated By ChatGPT / Custom Data Attributes for Additional Element Data in HTML Use custom data attributes (data-*) to store extra information on HTML elements, accessible via JavaScript. Source Code