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 trialCollin Hadley
955 PointsWhat is the <nav> </nav> element used for?
I remember using this one once, but I need a memory refresher!
3 Answers
Miguel de Luis Espinosa
41,279 PointsWell for navβ¦igation, menus and such that let you navigate a website
Hunter Cassidy
5,674 PointsIt's a more semantic tag than using a standard div for navigation. Common use case:
<nav>
<ul>
<li>nav_item_1</li>
<li>nav_item_2</li>
</ul>
</nav>
Sara Read
10,476 PointsIt is used for 'navigation' elements. You can make a list inside of the <nav> tags for each navigation element/link/icon.
Timothy Boland
18,237 PointsTimothy Boland
18,237 Pointsthese are all good answers, you should select a Best Answer :-)