Posted By

neri on 08/11/10


Tagged

html html5


Versions (?)

Who likes this?

7 people have marked this snippet as a favorite

chrismoguel
Meander365
tranberry
alexismoorejones
sofcase
ba11in
burgiking


HTML5 Base


 / Published in: HTML
 

  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <title>website title</title>
  5. <meta charset="utf-8">
  6. <!--[if IE]>
  7. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  8. <![endif]-->
  9.  
  10. <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
  11. </head>
  12. <body>
  13.  
  14. <header role="banner">
  15.  
  16. <hgroup role="heading">
  17. <h1>company/name</h1>
  18. <h2>slogan/tagline</h2>
  19. </hgroup>
  20.  
  21.  
  22. <nav role="navigation">
  23. <ul>
  24. <li>link</li>
  25. <li>link</li>
  26. <li>link</li>
  27. <li>link</li>
  28.  
  29. </ul>
  30. </nav>
  31.  
  32.  
  33.  
  34. </header>
  35.  
  36. <section id="main-content">
  37.  
  38. <section id="content" role="main">
  39.  
  40.  
  41. </section>
  42.  
  43. <aside id="sidebar" role="complementary">
  44.  
  45.  
  46. </aside> <!-- sidebar -->
  47.  
  48. </section> <!-- main-content -->
  49.  
  50. <footer>
  51.  
  52.  
  53. <p role="contentinfo"> &copy; sample footer with links link | link2 | link3</p>
  54. </footer>
  55.  
  56. </body></html>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: neri on August 12, 2010

Updated to include link to Shiv and Chrome frame for IE Support.

You need to login to post a comment.