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!
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
adrian lena1,864 Points
where do i put the comment
<!DOCTYPE html> <html> </html>
Steven Parker224,836 Points
It's a comment — you can put it anywhere.
As long as it's properly formatted, placement won't matter. It will not appear on the page, and it will not affect, or be affected by, any of the tags in the document.
You just cannot place a comment inside a tag, as you might place an attribute.
Patryk BernasiewiczCourses Plus Student 10,281 Points
The challenge says "put a comment at the top of the page", so I think you need to put it above the <!DOCTYPE> tag.
Mobolaji Kamson1,421 Points
The <!DOCTYPE html> is the first tag in your index. html document after that comes the opening tag <html>
the closing tag </html> will be the last tag in your document. all other tags will come in between. <html> and </html>