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 How to Make a Website Styling Web Pages and Navigation Style the Portfolio

lorenaolguin
lorenaolguin
6,034 Points

I don´t understand the use of the section tag, could we achieve the same results without using it between div and ul ?

It seems that it doesn´t serve an specific purpose, so i wonder if we could remove it, or if it is esencial to the code, what is its function?

Gianmarco Mazzoran
Gianmarco Mazzoran
22,076 Points

Hi,

I recommend you to read the first answer on this post

2 Answers

Tawny Bartlett
Tawny Bartlett
24,674 Points

http://blog.teamtreehouse.com/use-html5-sectioning-elements It's HTML5, so it's good to break up the document into the various tags for browsers / Google to make sense of pages. :) Tis a good blog article which explains things in more detail...! We can use divs etc for styling purposes but sections define a "section" or a "chapter" almost.

lorenaolguin
lorenaolguin
6,034 Points

wow! what a quick response! thank you very much, i´ll check those articles right now.

Tawny Bartlett
Tawny Bartlett
24,674 Points

No problem! Treehouse have a really cool blog it's worth following them! :)