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 HTML Basics Structuring Your Content Semantic HTML: <header>, <footer> and <section>

Section tag

What is the use of a section tag and what does it do?

1 Answer

Frances Tang
Frances Tang
24,767 Points


From what I understand, the section tag represents non-specific parts of the content. So when you don't know what the block code belongs but you want to group them, <section></section> is a good choice.

Hope it helps:)

It definitely helped me. Thank you very much Mrs.Tang.