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 trialadam osman
805 PointsHow do I write an html doctype?
I'm stuck on this challenge. I need more clues.
4 Answers
Jacqui Damore
2,074 Points<!DOCTYPE html>
Eddie Solar
20,455 Points<!DOCTYPE html> for HTML5
Eric Breuers
Courses Plus Student 19,270 PointsFirst, where is the doctype located in an HTML document?
Is it at the top of the page, the middle (in the body) or at the bottom of the page?
Once you've figured that out, right click and view source on a web page (this one will do) and look for the doctype. This page will have an HTML5 doctype which is probably what your challenge is asking for :)
adam osman
805 PointsI wasn't using all caps, thanks all.
Jacqui Damore
2,074 PointsJacqui Damore
2,074 Pointsin your index.html file write - <!DOCTYPE html>