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

Varlan Allan
Varlan Allan
8,064 Points

Fill in the Blank

This area is a really bad idea as it gives no clue to how you are to answer the question. Is it to be a word? Is it to be the actual code reference? It is not made very clear.

3 Answers

I'm not sure what you are asking but,

The way to link a CSS document is

<link rel="stylesheet" type="text/css" href="NAMEOFCSSDOCUMENT.css">

For Example: main.css or style.css or secondary.css

If you are asking about the short quiz they give you, its usually the actual code reference!

Varlan Allan
Varlan Allan
8,064 Points

Thank Mhd,

But according to the question that was asked, the answer was, 'rel'

The question asked, 'The ____ attribute specifies the relationship between web pages.'

Or something similar to this. The key word is ATTRIBUTE and rel is an attribute of the link element.

Sorry for not specifying the question.

For some reason the line of code I put in between the 2nd and 3rd line didn't show up, that's weird

Maybe it will show up this time, I put it underneath this sentence.

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