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.

steve falkowsky
702 PointsCan someone please show me how to do this task? I'm a total nube! Write the opening and closing head and body elements
I keep changing things around but it shows me the same "bummer" message over and over again.....I need real help
<!DOCTYPE html>
<html>head>/html>
<html>Steve's attempt to use html but i am tottaly confused!</html>
<html>Steve has no clue what he is doing</html>
1 Answer

Clayton Perszyk
Treehouse Moderator 48,553 PointsThe HTML tag is the top level tag, you nest head and body within. Head is where info about the page and scripts that get loaded along with document go. Body is where you put the content of your page that renders in the browser. HTML is a declarative language that allows you to build a nested structure of elements.
<!DOCTYPE html>
<html> <---- opening HTML tag
<head> <---- opening HEAD tag
</head> <---- closing HEAD tag
<body> <---- opening body tag
</body> <---- closing body tag
</html> <---- closing HTML tag