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

HTML How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Timothy Mattingly
Timothy Mattingly
15,934 Points

CSS not linking

I'm following along with the writing HTML and linking CSS section by trying to create a basic site. So far, i'm starting out by placing the text inside the header and adding color to the the body of the page. However, when I preview it in the browser, the code for the the links to CSS is being displayed on the page right above the header. Any idea of where I'm going wrong?

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title> Quiet Woods </title>
    <link> rel = "stylesheet" href = "css/normalize.css">
    <link> rel = "stylesheet" href = "css/main.css"> 
  </head>
  <body>
    <header>
      <h1> Quiet Woods </h1>
    </header>
  </body>
</html>

1 Answer

Jesus Mendoza
Jesus Mendoza
23,289 Points

Hey Timothy,

it should be

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