html5boilerplate - stripped


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



Copy this code and paste it in your HTML
  1. <!doctype html>
  2.  
  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" class="no-js"> <!--<![endif]-->
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10.  
  11. <meta name="description" content="">
  12. <meta name="author" content="">
  13.  
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15. <link rel="shortcut icon" href="/favicon.ico">
  16. <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  17.  
  18. <link rel="stylesheet" href="css/style.css?v=2">
  19. <script src="js/libs/modernizr-1.6.min.js"></script>
  20.  
  21. </head>
  22.  
  23.  
  24. <div id="container">
  25. <header>
  26.  
  27. </header>
  28.  
  29. <div id="main">
  30.  
  31. </div>
  32.  
  33. <footer>
  34.  
  35. </footer>
  36. </div> <!-- end of #container -->
  37.  
  38.  
  39. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
  40. <script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery.min.js"%3E%3C/script%3E'))</script>
  41.  
  42.  
  43. <!-- scripts concatenated and minified via ant build script-->
  44. <script src="js/plugins.js"></script>
  45. <script src="js/script.js"></script>
  46. <!-- end concatenated and minified scripts-->
  47.  
  48.  
  49. <!--[if lt IE 7 ]>
  50. <script src="js/libs/dd_belatedpng.js"></script>
  51. <script> DD_belatedPNG.fix('img, .png_bg'); </script>
  52. <![endif]-->
  53.  
  54. <!-- yui profiler and profileviewer - remove for production -->
  55. <script src="js/profiling/yahoo-profiling.min.js"></script>
  56. <script src="js/profiling/config.js"></script>
  57. <!-- end profiling code -->
  58.  
  59.  
  60. <!-- change the UA-XXXXX-X to be your site's ID -->
  61. var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];
  62. (function(d, t) {
  63. var g = d.createElement(t),
  64. s = d.getElementsByTagName(t)[0];
  65. g.async = true;
  66. g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  67. s.parentNode.insertBefore(g, s);
  68. })(document, 'script');
  69. </script>
  70.  
  71. </body>
  72. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.