HTML HTML Basics Structuring Your Content Sectioning Content with <article>, <nav> and <aside>

Sidney Villanueva
Sidney Villanueva
Front End Web Development Techdegree Student 1,876 Points

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,020 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