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.

kilian garland
Front End Web Development Techdegree Student 2,343 Pointstrying to place head and boy in the right places. How do these go?
How to put head and body to my code?
<!DOCTYPE
html>
<html>
<head>
<body>
<h1>
<h1/>
</head>
<body>
</html>
2 Answers

Victor Mercier
14,664 PointsHi Kilian, the basic structure of an html document looks like this :
<!DOCTYPE html>
<html>
<head>
<title>My Gear</title>
</head>
<body>
<h1>My Gear</h1>
</body>
</html>
Basically, you place head and body in the html tag and you usually put the content you wanna display in the body tag.
If that helped, mark as best answer to indicates other student your issue is resolved!

kilian garland
Front End Web Development Techdegree Student 2,343 PointsThank you

Fran ADP
6,291 Points<!DOCTYPE html> <html> <head> </head> <body>
</body>
</html>
you don't need h1
Victor Mercier
14,664 PointsVictor Mercier
14,664 PointsYou can mark the answer as best answer !