About the anchor tag

What other tags can we nest inside the anchor tag?

The anchor tag creates a box around a group of other elements that functions like a button. Because of this you can nest nearly any other tags into an <a>.

I recommend looking at the documentation for more information:
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/a

2 Likes

I’ve wondered about this myself and have been trying to research anchor tag and anchor text. This is a great explanation though when it can all be very confusing. [link removed]

1 Like

Welcome, @cloud2970175935,

If you have a question please post code, not the URL to your site. If it is indeed your own site, you may post the link in your profile preferences. It will appear in your avatar card (click your avatar).

Okay, will do! Thank you!

1 Like