blank html5 template


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!DOCTYPE html>
  2. <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
  3. <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
  4. <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
  5. <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
  6. <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
  7. <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" clas="no-js"><!--<![endif]-->
  8.  
  9. <meta charset="UTF-8"/>
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  11.  
  12. <meta name="description" content="">
  13. <meta name="author" content="">
  14.  
  15. <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  16. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  17.  
  18. <!--[if ! lte IE 6]><!-->
  19. <link rel="stylesheet" href="assets/css/main.css">
  20. <!--<![endif]-->
  21.  
  22. <!--[if gte IE 7]>
  23. <link rel="stylesheet" href="assets/css/ie7.css" type="text/css" media="screen, projection" />
  24. <![endif]-->
  25.  
  26. <!--[if lte IE 6]>
  27. <link rel="stylesheet" href="http://universal-ie6-css.googlecode.com/files/ie6.1.0b.css" media="screen, projection">
  28. <link rel="stylesheet" href="assets/css/ie6.css" type="text/css" media="screen, projection" />
  29. <![endif]-->
  30. </head>
  31.  
  32. <div id="wrap">
  33.  
  34. <div id="accessibility" class="visuallyhidden">
  35. <a href="#nav">Skip to Navigation</a> |
  36. <a href="#main-content">Skip to Content</a>
  37. </div>
  38.  
  39.  
  40. <header role="banner">
  41. <div class="masthead">
  42. <a href="#"></a>
  43. </div>
  44. <nav id="nav" role="navigation">
  45. <ul>
  46. <li><a href="#"></a></li>
  47. </ul>
  48. </nav>
  49. <div id="secondary-nav">
  50. <ul>
  51. <li><a href="#"></a></li>
  52. </ul>
  53. </div>
  54. </header>
  55.  
  56.  
  57. <section id="main-content" role="main">
  58. <h1></h1>
  59. <article>
  60. <header>
  61. <h2></h2>
  62. </header>
  63. </article>
  64. </section> <!-- !main-content -->
  65.  
  66.  
  67. <aside id="sidebar">
  68. </aside> <!-- !aside -->
  69.  
  70.  
  71. <footer>
  72. </footer> <!-- !footer -->
  73.  
  74. </div> <!-- !wrap -->
  75.  
  76. <script src="assets/js/jquery-1.5.min.js"></script>
  77.  
  78. <script src="assets/js/modernizr-1.6.min.js"></script>
  79.  
  80.  
  81. <!-- scripts concatenated and minified via ant build script-->
  82. <script src="assets/js/plugins.js"></script>
  83. <script src="assets/js/script.js"></script>
  84. <!-- end concatenated and minified scripts-->
  85.  
  86. <!--[if lt IE 7 ]>
  87. <script src="js/libs/dd_belatedpng.js"></script>
  88. <script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
  89. <![endif]-->
  90.  
  91. <!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet
  92. change the UA-XXXXX-X to be your site's ID -->
  93. var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];
  94. (function(d, t) {
  95. var g = d.createElement(t),
  96. s = d.getElementsByTagName(t)[0];
  97. g.async = true;
  98. g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  99. s.parentNode.insertBefore(g, s);
  100. })(document, 'script');
  101. </script>
  102.  
  103. </body>
  104. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.