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>

Isaac Lau
Isaac Lau
3,767 Points

Semantic HTML grouping?

The video said that using somthing like <header></header> , <footer></footer> to group the web page content. I was trying on workspace, but looks like nothing changed.

So this function are only for grouping like we add command on the script file for remember?

3 Answers

Those tags themselves don't do anything, it's just a way of dividing your HTML content up and making it more readable :). To see any changes you'll have to add some custom CSS to both the footer and header.

Daniel Valles
Daniel Valles
8,157 Points

You don't see anything in the footer because you haven't placed anything their yet. Type something in between your footer tags and it will appear. Don't forget to save it.

Isaac Lau
Isaac Lau
3,767 Points

Thank You both James Arroyo and Daniel Valles. :)