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
Christopher Anderson
1,601 PointsWhy would you have two sections in an html
I just want to know what is the point of having two sections in an HTML document
2 Answers
Benjamin Hedgepeth
5,672 PointsThe <section> element is used to group thematic content. If I built a music distribution website and had a variety of genres to pick from I would want to create sections for albums that fall under a particular genre. Then I could style those sections and lay them out on the page with a particular id or class.
Tan Dung
Courses Plus Student 80 Pointsread more: http://www.w3schools.com/tags/tag_section.asp :D