Posted By

adambundy on 04/23/10


Tagged

template html5


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

shanegriff
adambundy
tardyace
ba11in


HTML5 Starter File


 / Published in: HTML
 

  1. <!DOCTYPE html>
  2. <meta charset=utf-8 />
  3. <meta name="description" content="description">
  4.  
  5. <title>Page Title</title>
  6.  
  7. <link rel="stylesheet" media="screen" href="css/styles.css" />
  8. <link rel="stylesheet" media="print" href="css/print.css" />
  9.  
  10. <!--[if IE]>
  11. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  12. <![endif]-->
  13.  
  14. body {background:#e3e3e3;}
  15. header {display:block;}
  16.  
  17. </head>
  18.  
  19.  
  20. <header>
  21. <h2 id="site-title"><a href="#">Business Name</a></h2>
  22. </header>
  23.  
  24. <nav>
  25. <ul>
  26. <li>
  27. <h2>Item 1</h2>
  28. <ul>
  29. <li><a href="#">Item 1-1</a></li>
  30. <li><a href="#">Item 1-2</a></li>
  31. </ul>
  32. </li>
  33. <li>
  34. <h2>Item 2</h2>
  35. <ul>
  36. <li><a href="#">Item 2-1</a></li>
  37. <li><a href="#">Item 2-2</a></li>
  38. </ul>
  39. </li>
  40. </ul>
  41. </nav>
  42.  
  43. <footer>
  44. <p>&copy;2010. All Rights Reserved.</p>
  45. </footer>
  46.  
  47. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  48.  
  49. </body>
  50. </html>

Report this snippet  

You need to login to post a comment.