It is important to note that new tags have been developed, such as nav, section, header, footer, etc. By themselves, these tags behave just like a div. The reason people start using them on their html5 sites is to provide context to the document. Although I roll my eyes when I hear terms like βWeb 2.0,β these terms convey changes in thinking about how we use the Internet. Whenever you hear "Web 3.0" ... ugh, all of this actually means that people are trying to think about how to make the web more semantic, which means that the user interface is more customizable based on user behavior and preferences. Tagging your document with these tag types helps provide that context. However, the implementation of how it will be presented is still up to you, and I believe that both of the examples you provided are absolutely correct.
There is a decent article here that discusses this in more detail:
http://html5doctor.com/lets-talk-about-semantics/
source share