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 Creating HTML Content Include External CSS

Justin Molyneaux
Justin Molyneaux
13,329 Points

Hi, why do we not use a closing tag for "link" as in <link rel="stylesheet" href="css/normalize.css"> </link>?

I believe I've followed all the steps including having unordered lists in the nav element however, the bullet points still remain on the page. Any suggestions?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Justin Molyneaux | Product Manager</title> <link rel="stylesheet" href="css/normalize.css"> </head> <body> <header> <a href="index.html"> <h1>Justin Molyneaux</h1> <h2>Product Manager</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt="">

1 Answer

josue exhume
josue exhume
20,981 Points

hi justin, try this instead

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

I believe your just missing the forward slash at the end. even though not adding it shouldn't give you an error, just to be on the safe side. I think you should be able to load the stylesheet your code seems correct to me, double check the spelling of stylesheets name. if all else fail, take the normalize.css style sheet and keep it outside the css folder and load it up in in your index file as

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

The Link tag is self closing, you you'll later on find out there are other self closing tags in html such as

<img src="img/numbers-01.jpg" alt="" height="90" width="90">

i hope this helps.