Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

adam 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,453 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>