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 trialBalazs Szilagyi
Courses Plus Student 5,945 PointsHTML document root
Hi there, one of my challenge is that I have to create the HTML element that will serve as the document root
out of these codes: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Balazs Szilagyi | Tour organizer</title> </head> <body> <header> <h1>Balazs Szilagyi</h1> <h2>Tour organizer</h2> </header> <section> <p>Here goes the gallery.</p> </section> <footer> <p>Ā© Balazs Szilagyi 2014</p> </footer> </body> </html>
by any chance that you can give me a hint how to do it?
thanks for your answer in advance Balazs
1 Answer
Ali M Malik
33,293 PointsBasically what the question is asking you is to open and close you html element.
so
<!DOCTYPE html>
<html>
</html>
Those <html></html> tags serve as the document root, all your code is specified inside the html element.
Balazs Szilagyi
Courses Plus Student 5,945 PointsBalazs Szilagyi
Courses Plus Student 5,945 PointsThank you for your help ;)