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

yarkukhtin
yarkukhtin
8,420 Points

how come you didn't include "type" in the link element? <link type="text/css" rel="stylesheet" href="stylesheet.css"/>

please respond :)

thx!

2 Answers

Ethan Lowry
PLUS
Ethan Lowry
Courses Plus Student 7,323 Points

Hi, since HTML5 the link attribute is no longer required - for all previous HTML versions it was (technically) required, but it's fine for you to leave it off.

Ethan Lowry
Ethan Lowry
Courses Plus Student 7,323 Points

No problem - just a couple other things: when you're replying to someone in the forums remember to leave a comment instead of a new answer like you did there :) And secondly remember to upvote / mark as best answer whenever you're happy with an answer.

Thanks and good luck.