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 Create the Content Containers

Raymond Franks
Raymond Franks
180 Points

How do I create a container for a header and footer in html?

How do I create a Header and Footer in an HTML document?

2 Answers

you can use them literaly

           <header>This is content!</header>
           <footer>This is contet!</footer>

Headings are defined with the < h1 > to < h6 > tags.

<h1> defines the most important heading. <h6> defines the least important heading.

To create a footer please see the example below:

<p> %copy; 2015 Treehouse </p>

Keep in mind that the %copy will generate the copyright symbol. The <p></p> results in a paragraph.