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


To Nav or not to Nav

So I have had a look at a couple of sites/companies that I respect including a certain tree-dwelling group - and it would appear that the use of <nav> is not very wide spread - I was wondering if this is to stop it appearing in any outline structure or just an old habit. Do people tend to use <nav> and what is the benefit of not.


2 Answers

I think we must use nav Html5 element, because will be the standard. If you have problem with older browsers like IE (of course) use https://code.google.com/p/html5shiv/ project that enabled to recognize html5 elements. =)

James Barnett
James Barnett
39,199 Points

My 2 cents, you should be using ARIA landmarks instead of the new HTML5 structural elements.

If you want to read a very detailed and naunced analysis of strutural elements added to HTML5 check out this 3 part series on the harsh truth about HTML5 semantics over on webdesignerdepot.com