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

How do you add a header element,section element and footer element

How do you add a header element ,section element and footer element

index.html
<!DOCTYPE html>
<html> <head>
  <meta charset="utf-8"> <title> </title> </head> 

  <body> <h1>header </h1> 

  </body>
</html>

2 Answers

millogt
millogt
7,644 Points

I would advise u to go over the videos again as you are just asking the basic of basic things and if u can not follow now u definitely wont be able to follow later on. A good thing would be to write stuff down that u learn in the videos.

As a tip to the objective, u just need to add the opening and closing tags of the header, section and footer element inside the body tags.

Good luck!

          <header></header>
          <section></section>
          <footer></footer>
          ```