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.
trying 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>
Hi 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!
Fran ADP6,291 Points
<!DOCTYPE html> <html> <head> </head> <body>
you don't need h1