Posted By

purwa on 11/24/12


Tagged

base html5


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

craig
JuanIB


html: boilerplate


 / Published in: HTML
 

  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  6. <head>
  7. <meta charset="utf-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  9. <meta name="description" content="">
  10. <meta name="viewport" content="width=device-width">
  11.  
  12. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  13.  
  14. <link rel="stylesheet" href="css/normalize.css">
  15. <link rel="stylesheet" href="css/main.css">
  16. <script src="js/vendor/modernizr-2.6.2.min.js"></script>
  17. </head>
  18. <body>
  19. <!--[if lt IE 7]>
  20. <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
  21. <![endif]-->
  22.  
  23. <!-- Add your site or application content here -->
  24. <p>Hello world! This is HTML5 Boilerplate.</p>
  25.  
  26. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  27. <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.3.min.js"><\/script>')</script>
  28. <script src="js/plugins.js"></script>
  29. <script src="js/main.js"></script>
  30.  
  31. <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
  32. var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
  33. (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  34. g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  35. s.parentNode.insertBefore(g,s)}(document,'script'));
  36. </script>
  37. </body>
  38. </html>

Report this snippet  

You need to login to post a comment.