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 trial

HTML Introduction to HTML and CSS (2016) 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.

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 ,

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