Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Treehouse Club: CSS My First Web Page What's New in Your HTML

href and rel clarification questions ..

Alright I am trying to understand the concept of href and rel .. So in this post I'll put my guess for what I think they are .. If I am not correct please help me out .. Thanks

href - Used to import different fonts into html. **** QUESTION: Do href always used links from external pages (Ex.. Google fonts website) or can you link it to directory files that are already stored on your laptop?

rel - Used to specify what the link in the href is .. as well as to show css where this link is located.

1 Answer

Petter ร–stergren
Petter ร–stergren
6,920 Points

I would recommend that you watched this video, easier to see it the explain it in a text.

Relationship (REL) Attribute for Anchors

Great video. Thanks. Made it more clear for my level of understanding