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 trialLucas Fileti
2,951 PointsCan I use header tag and then header tag again with others tags ?
Is it right ?
1 Answer
Steven Parker
231,248 PointsAs stated on the MDN page:
a <header> element is intended to usually contain the surrounding section's heading...
So yes, it would make perfect sense to have a header tag in each section
on the page. But note that a <header> element must not be a descendant of an <address>, <footer> or another <header> element.
jomarialang
1,453 Pointsjomarialang
1,453 PointsYou can but normally there's only one header and one footer in a website.
https://www.w3schools.com/html/html5_semantic_elements.asp