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.

HTML Introduction to HTML and CSS Adding a New Web Page Test: Write and Style an Element

Amanda Shaheen
Amanda Shaheen
1,241 Points

Not sure why it says I didn't close everything?

The program says something isn't closed... but I can't see anything that isn't

index.html
<!doctype html>
<html>
 <heading>
  </heading>
 <body>
  </body>

</html>

4 Answers

The name of the tag should be head rather than heading.

Abigail Schultz
seal-mask
.a{fill-rule:evenodd;}techdegree
Abigail Schultz
Web Development Techdegree Student 3,796 Points

Yep! This sounds right. If you do head instead of heading, it should help. If you’re trying to apply a heading, please be sure it is put into the body.

Manuel Altamirano
Manuel Altamirano
4,091 Points

in addition to what jb30 stated remember that the <head> will contain all of the meta data such as charset, font, and CSS stylesheet references for the page. When you applying a heading you will need to use any of the <h1> to<h6> depending on your specific page needs with the <h1 > being the largest heading and <h6> being the smallest.

Wrap the heading element into body ,

Greggar Deterville
Greggar Deterville
5,973 Points

change the tag <heading> </heading> to <head> </head> heading goes into the body.