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 trialkilian 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,667 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,304 Points<!DOCTYPE html> <html> <head> </head> <body>
</body>
</html>
you don't need h1
Victor Mercier
14,667 PointsVictor Mercier
14,667 PointsYou can mark the answer as best answer !