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 trialZorah Keith
205 PointsWhy isn't type="text/css" included in the <link> for CSS?
I know that <link rel and href> are supposed to be included in the CSS head. Do you need to specify the link type as well?
2 Answers
Katherine Duncan-Welke
iOS Development with Swift Techdegree Graduate 33,030 PointsIn HTML 5 the type attribute for rel links is not necessary, so there's no need to include it. You can put it in if you want to, but all it does is take up extra space.
Zorah Keith
205 PointsOk. Thank you. I came here after learning from Codecademy and that attribute was always included even though it was HTML 5. Just to see it not included for the tutorials here confused me a bit. Thank you for clearing that up.