Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Collin Hadley
Collin Hadley
955 Points

What is the <nav> </nav> element used for?

I remember using this one once, but I need a memory refresher!

Timothy Boland
Timothy Boland
18,237 Points

these are all good answers, you should select a Best Answer :-)

3 Answers

Well for nav…igation, menus and such that let you navigate a website

Hunter Cassidy
Hunter Cassidy
5,674 Points

It's a more semantic tag than using a standard div for navigation. Common use case:

Sara Read
Sara Read
10,476 Points

It is used for 'navigation' elements. You can make a list inside of the <nav> tags for each navigation element/link/icon.