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!

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 CSS Foundations Getting Started with CSS Adding CSS to a Page

Godfrey Adiges
Godfrey Adiges
2,146 Points

Adding css to a page

The blank attribute specifies the relationship between the current document and the linked document. I'm not sure what the blank answer is

1 Answer

Isaac Asante
Isaac Asante
4,752 Points

Hi Godfrey, the answer is "rel" attribute. That's because in your HTML's head documents, whenever you want to link an external style sheet, you need to add the LINK element and specify the relation that the linked file has with your document (in this case, the relation is style sheet). So, for instance, you write:

<link rel="stylesheet" href="/css/main.css">

So remember that the answer is rel.

All the best.