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 trialBhav Singh
224 PointsWhy have multiple footers and headers?
Why have multiple headers and footers I though websites only have one header and footer for the entire website. this is confusing me could HTML 5 have thought of something tells instead
3 Answers
Rox R
775 PointsBecause maybe in the future you will want to use it multiple times and you will think that's not allowed..better to know you can use it more than once
Bhav Singh
224 PointsI'm not really getting the answer I want here maybe it's the way I worded the question. what I'm asking is why reuse the header and footer element to show some other information inside an article, paragraph or anywhere ells.
Steven Parker
231,269 PointsI expanded my answer.
Steven Parker
231,269 PointsThere's no rule about how many headers or footers a page must have. You can certainly have only one if you want. It is strictly a design decision.
But you might want to have a header for the body, but a separate header in an article.
Bhav Singh
224 PointsIn treehouse training that's what they teach, if that's the case then they should not include this in the tutorial as it creates confusion. training should be based purely on the essential stuff to keep it simple.
Reign Anu
1,537 PointsReign Anu
1,537 PointsFrom a novice's perspective, I'm presuming the necessity of multiple headers and footers are about specificity when it comes to SEO (Search Engine Optimization). But I could be wrong.