A navigation section uses the HTML5 nav element to group an unordered list of links to other gallery pages. It is the page’s friendly signpost: click a link, and off you go. section 15.6
A gallery navigation can include:
- A nav element containing a ul list. section 15.6
- List items containing links to Gallery 1, Gallery 2, Gallery 3, and Gallery 4. section 15.6
- Flexbox styling that centers the navigation and lays its links across the page. section 15.6
- A current-page span that highlights the page being viewed, plus hover styling for links. section 15.6
Gallery navigation
<nav>\n <ul>\n <li><a href="gallery1.html">Gallery 1</a></li>\n <li><a href="gallery2.html">Gallery 2</a></li>\n <li><a href="gallery3.html">Gallery 3</a></li>\n <li><a href="gallery4.html">Gallery 4</a></li>\n </ul>\n</nav> section 15.6
<nav>
<ul>
<li><a href="gallery1.html">Gallery 1</a></li>
<li><a href="gallery2.html">Gallery 2</a></li>
<li><a href="gallery3.html">Gallery 3</a></li>
<li><a href="gallery4.html">Gallery 4</a></li>
</ul>
</nav>
Browse the complete navigation markup, including its list and four gallery-page links. section 15.6



