Global HTML Attributes
Attributes provide additional information about HTML elements. Global attributes can be used on any HTML element.
id
: Uniquely identifies an elementclass
: Assigns one or more class names for stylingstyle
: Adds inline CSS stylestitle
: Adds tooltip text on hover
<p id="intro" class="highlight" title="Hover text">Hello World</p>