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 Sectioning Content with <article>, <nav> and <aside>

Is it okay to add a <nav> tag to the "Top VR Resources" section of the document since it is a list of links??

Just a bit confused about the <nav> element.

1 Answer

Sylvester Hofstra
Sylvester Hofstra
12,022 Points

The nav-tag has a semantic meaning. So if the (un)ordered list of links contain (internal) navigation to the current page or to other pages of the same site, than you can place the (un)ordered list inside a nav-tag. You're allowed to use more than one nav-tag on the same page.

Some more information about the nav-tag is on: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav

Thank you all for your replies.