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 How to Make a Website HTML First Use HTML Elements

Mariano Giustozzi
Mariano Giustozzi
3,351 Points

"Add a header element, section element, and footer element." I dont know what to put here.. xD

Add a header element, section element, and footer element.

Dont know what to put here xD

index.html
<!DOCTYPE html>
<html> 

  <head>
    <meta charset="utf-8">
    <title>TRNOHF SRL</title>

  </head>
  <body>
    <h1>TRANOHF SRL</h1>

</body>
  <section></section>
  <footer></footer>
</html>

4 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey Mariano. Welcome to Treehouse.

You've pretty much got it, except for a couple things. First the section and footer tags need to be moved into the body (before the closing body tag. Second, you added a <h1> tag, when the challenge is asking for a header tag. Header tags and h tags (also called headings) are different. So, delete the h1 and put in an opening and closing header tags before the section tags.

<heading></heading>

Keep Coding! :)

Garrett Levine
Garrett Levine
20,305 Points

hey there!

Everything in a website must be within the body tag! You've placed your header, section and footer AFTER the /body . Place it within the body!

After further inspection, you have a HEAD tag, but not a HEADER. Your head tag is basically information that the browser sees to help the browser understand what is going to be on the page, but not display anything. The HEADER tag is something we use to communicate what a certain block of information might be, like the 'header' of the website! You still haven't added one in the code above!

Mariano Giustozzi
Mariano Giustozzi
3,351 Points

Thank you so much guys! so kind and so fast responses :D

<html> --everything is inside this <body> -------this is where the content that will be on page goes <head></head>-----usually includes the title of page <section></section> ---used to put in the code, organizes it better <footer></footer> ---bottom of page where copyright is </body> ---closes the body </html> ---closes html