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 trialJohn Cunningham
8,665 PointsI need to see the video again
I remember how to create the Elements, I just don't remember what order they go in or maybe which ones are nested in which
4 Answers
Steven Deutsch
21,046 PointsHey John,
You can click the back arrow on the right hand side of the screen to go back and review a previous step or video in that stage.
Here are a few things to remember:
- You always start with your doctype element,
<!DOCTYPE html>
- The doctype is followed by the
html
element - Nested inside of your root element is your
head
andbody
elements - Nested inside of your
head
element is documents meta data like thecharset
,title
tag, etc. - Nested inside of your
body
element is the content and organization of the webpage
You'll get the hang of setting up the HTML page and the order of the elements after doing it a few times. Good luck.
James Barnett
39,199 PointsHTML Dog has a good reference for the basic structure of the tags
Steven Deutsch
21,046 PointsCool reference James. Thanks.
John Cunningham
8,665 PointsThanks. That helps a lot.