Tag Attributes
Add extra info to your tags with attributes.
Step 1 of 4
Attributes are extra info
Attributes exist because tags alone aren't enough — sometimes you need to give a tag extra instructions. For example, an tag creates a link, but the browser needs to know where the link goes. That's what href="..." does. Every clickable link you've ever used on the web — from Google search results to "Add to Cart" buttons — uses the href attribute to know its destination.
Think of it this way: Think of a shipping package: the box itself is the tag, but without a destination label, the courier doesn't know where to deliver it. Attributes are those labels — they give the browser the extra details it needs to handle the element correctly.
Web Standard
Learn more on MDN
HTMLREAD ONLY
TAG VIEW
Start typing to see your tags visualized here...
PREVIEW