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

JavaScript Treehouse Club - MASH MASH - HTML Thinking With Your Head

Mario Jaramillo
PLUS
Mario Jaramillo
Courses Plus Student 1,645 Points

The <head> element is used to specify information about the page. Below, however, you'll find several elements that DO N

The <head> element is used to specify information about the page. Below, however, you'll find several elements that DO NOT belong in the head of an HTML document. DELETE everything that should not be in the <head> element. (If you need a hint, please look at the teacher's notes for what is allowed in your <head>.)

can you help me with this? Im not understanding this one.

index.html
<head>
  <!DOCTYPE> 
  <meta charset="utf-8">
  <title>Futuristic MASH</title>
  <h1>Futuristic MASH</h1>
  <link href="style.css" rel="stylesheet">
  <p> Directions to play the game: </p>
</head>

3 Answers

Peter Lawless
Peter Lawless
24,404 Points

Hey Mario!

So HTML pages are split into two big sections: the <head>, which contains information about the page itself, and the <body>, which is the actual structure and content to be rendered onto the webpage. Things like paragraphs (<p>), headlines (<h1>, <h2>, etc.), lists (<ol>, <ul>), and so on, are elements that determine how the content is to be displayed, and as such belong inside the <body>. Does this help?

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

The <head> element generally contains information about the HTML document. These are things that are not displayed on the webpage itself. It's a little like when you buy a book and the first few pages are information about the publish, author, acknowledgements. That's information about the book.

But I highly suggest you take the challenge's advice and look at the Teacher's notes to help you make the final decision about what should be there and what shouldn't.

Good luck! :sparkles:

chase singhofen
chase singhofen
3,811 Points

So i finally got it. But only b/c it said DELETE whatever does not belong. Try not to add anything to the content. The teachers notes are vague. the <p> & the <h1> dont belong.