Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Customizing Colors and Fonts Organize CSS with Comments

Can someone please explain what an anchor element is?

I'm not totally clear about what an anchor element is an is not. Can someone please define and give examples? Thanks!

5 Answers

An anchor element simply marks the beginning and end of a URL reference. So any time you want to link a URL (by itself or attaching it to text or an image) you will begin and end the URL reference with an anchor element.

Krishnendu Banerjee
Krishnendu Banerjee
1,005 Points

An anchor element is an element whi is used for linking with urld to create an webpage... with combination with the href u can link with other webpages.

Mandaar Dahale
Mandaar Dahale
2,527 Points

just like anchor, an anchor element attaches or links another webpage /link to your page.

an anchor just re-links to a specified website or link present on your page .

Anchors are the link between documents in the network. Therefore, after Web surfing.