Hi guys, I'm starting to learn HTML5 in my sch now. But yea.. my lecturer suck at explaining.

just wondering if div container still relevant? for exmaple code 1 vs code 2, which one is recommended way of coding it and why?

Code:
<nav id="navigation">
   <ul>
       <li>link1</li>
       <li>link2</li>
   </ul>
</nav>
VERUS THIS

Code:
<div id="navigation">
    <nav>
   <ul>
       <li>link1</li>
       <li>link2</li>
   </ul>
</nav>
</div>