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 trialGerald ESPARZA
219 PointsI have no clue
What should I put
<!doctype html>
<html lang="utf-8">
<title>document</title>
</head>
<body>
</body>
</html>
3 Answers
joelearner
54,915 PointsHi Gerald,
It appears you're missing the opening <head> tag. Try putting that in and see if it works.
Tony Brackins
28,766 PointsHey Gerald ESPARZA don't sweat it. Been programming about 5 years. i usually just google "doctype html" and copy/paste it in.
Gerald ESPARZA
219 PointsI tried that and nothing that made sense
Brandon Gibbs
9,636 PointsGo there, view page source. That is your basic site structure. :) Enjoy.
Brandon Gibbs
9,636 PointsYou have a couple of errors here. I'm not sure what context you need this in, but if you are doing anything early in the Treehouse courses you will not need any UTF-8 declarations. If you must, they go inside of the head, and are placed in the meta tags, which you will learn about soon enough...but are not key to you at this point in general.
<!doctype html>
//This opening tag was missing
<head>
<title>document</title>
//this is where utf-8 would go, as a value to a charset attribute. But this could be left out.
<meta charset="utf-8" />
</head>
<body>
</body>
</html>
//you can delete my comments and whitespace that is left behind if you wish.
'''
Brandon Gibbs
9,636 Points<!doctype html>
<head>
<title>Document</title>
</head>
<body>
</body>
</html>
Just to give you something easier to read. This should satisfy the answer for what you are trying to do.