Introduction
Global attributes let you add extra information or control to any HTML element. They help make your webpage easier to use and understand.
You want to give an element a unique ID to style or link to it.
You want to add a tooltip that shows when someone hovers over an element.
You want to control if an element is hidden or visible on the page.
You want to make an element accessible by adding ARIA labels.
You want to add custom data to elements for JavaScript to use.