←EasyCode logoEasyCodeLab
HomeModulesPlayground
  1. Modules
  2. /
  3. Tag Builder
  4. /
  5. Tag Attributes

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
The href attribute on stands for 'hypertext reference' — it's the foundation of how web pages link together, which is what makes the web a 'web'.
Learn more on MDN
HTML<a> anchorAttrhref attribute
HTMLREAD ONLY
TAG VIEW

Start typing to see your tags visualized here...

PREVIEW