Navigation

Basic styling for the nav element and its children:


Navigation

(outside of header, nav > ul > li > a)

Navigation

(nav > a)

Code <nav>
  <ul>
    <li><a href="#!">nav item 1</a></li>
    <li><a href="#!">nav item 2</a></li>
    <li><a href="#!">nav item 3</a></li>
  </ul> </nav>
Code <img src="img/f00.jpg" alt="a test image" />
<nav>
  <a href="#!">nav item 1 </a>
  <a href="#!">nav item 2 </a>
  <a href="#!">nav item 3 </a>
</nav>