New semantic elements in HTML5
My dictionary defines semantics as "the branch of linguistics and logic concerned with meaning". For our purposes, semantics is the process of giving our markup meaning. Why is this important? Glad you asked. Consider the structure of our current markup for the And the winner isn't... site:
<body> <div id="wrapper"> <div id="header"> <div id="logo"></div> <div id="navigation"> <ul> <li><a href="#">Why?</a></li> </ul> </div> </div> <!-- the content --> <div id="content"> </div> <!-- the sidebar --> <div id="sidebar"> </div> <!-- the footer --> <div id="footer"> </div> </div> </body>
Most writers of markup will see common conventions for the ID names of the div's used—header, content, sidebar, and so on. However, as far as the code itself goes...