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 trialkunal Toolsy
540 Points<!DOCTYPE> <html> <head> </head> <body> </body> </html> if this is not good, then what is good ?
why this is not good
<!doctype>
<html>
<head> </head>
<body> </body>
</html>
Moderator redacted: Removal of profanity from the title of the question.
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! I redacted your question to remove the profanity from the title of the question. Please refer to the Code of Conduct for information about the Community guidelines.
As far as your code, you forgot to declare what kind of document it is. You're studying web development, but there are other file types that are interpretable by the browser.
The first line you're looking for is:
<!DOCTYPE html>
Hope this helps!
Steven Parker
231,275 PointsWhen I plug this into the challenge, it says "Bummer! Your DOCTYPE should be "html" (without quotes)."
So to make it good, add "html" to the "DOCTYPE" tag.
Also, please revise the language in this question's title to conform to the Code of Conduct.