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 trialDan Sullivan
321 PointsI think I'm submitting the right thing, but it doesn't like it.
I'm submitting this: <!doctype html> <html> <head> <meta charset="utf-8"> <meta title="Why doesn't this work?"> </head> <body> </body> </html>
but it still says I need to put a title on my page. It's not giving me any explanation of what it is finding wrong.
2 Answers
Sean Perryman
13,810 PointsYou have done well, a doctype is a necessary piece of an HTML page. What you are missing is this:
<!DOCTYPE html>
<html>
<head>
<title>Page Title Goes Here</title>
</head>
Dan Sullivan
321 PointsThanks Sean, the whole html I wrote didn't copy right. Here it is: '''html <!doctype html> <html> <head> <meta charset="utf-8"> <meta title="Title"> </head> <body> </body> </html> ''' So it looks like they were looking for a <title> instead of the meta title.
thanks!
Dan Sullivan
321 PointsHA! nevermind. it still didn't paste right. thanks
Sean Perryman
13,810 PointsSean Perryman
13,810 PointsJust as a point of reference, every standard HTML page I write starts with this template: