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 trialReuven Kishon
5,270 PointsWhat is the purpose of the "type" attribute of the <link> tag?
I ask because I went ahead and replaced the default google font <link> tag provided in the sample code, with the html code I obtained for a new google font. This new font code did not include a "type" attribute -- and still worked.
2 Answers
Mircea Ungureanu
7,483 PointsHello Reuven, I was wondering that myself since I had a similar experience. While researching the subject I came across this answer on StackOverflow which explains it better than I can. http://stackoverflow.com/questions/5409114/is-type-text-css-necessary-in-a-link-tag Hope it helps.
Reuven Kishon
5,270 PointsThanks that was what I was looking for!