Posted By

bcmoney on 03/03/11


Tagged

template html jquery CSS3 skeleton html5


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jaypplr
Gupocca
jarc100
jstrawther


HTML5 basic skeleton


 / Published in: HTML
 

URL: http://bcmoney-mobiletv.com/blog/2011/03/02/html5-feature-template-and-barebones-html5-skeleton/

Basic HTML5 skeleton template, including jQuery, for getting up and running quickly with HTML5

  1. <!DOCTYPE html>
  2. <meta charset="utf-8" />
  3. <title>HTML5 basic skeleton</title>
  4. <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
  5. <!--[if lt IE 9]>
  6. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  7. <![endif]-->
  8. <style type="text/css">
  9. header, section, footer, aside, nav, article, figure, audio, video, canvas { display:block; }
  10. </style>
  11. </head>
  12. <div id="wrapper">
  13. <header>
  14. Header
  15. </header>
  16. <nav>
  17. Nav
  18. </nav>
  19. <section id="content">
  20. <article>
  21. Article
  22. </article>
  23. </section>
  24. <aside>
  25. Sidebar
  26. </aside>
  27. <footer>
  28. Footer
  29. </footer>
  30. </div>
  31. </body>
  32. </html>

Report this snippet  

You need to login to post a comment.