Posted By


trymbill on 04/05/11

Tagged


Statistics


Viewed 610 times
Favorited by 2 user(s)

HTML5 Boilerplate


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

The HTML5 Boilerplate


Copy this code and paste it in your HTML
  1. <!doctype html>
  2. <!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
  3. <!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
  4. <!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
  5. <!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8.  
  9. <meta name="description" content="">
  10. <meta name="author" content="">
  11.  
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  13. <link rel="shortcut icon" href="/favicon.ico">
  14. <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  15.  
  16. <link rel="stylesheet" href="css/style.css?v=1">
  17. </head>
  18.  
  19.  
  20.  
  21. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
  22. <script>window.jQuery || document.write("<script src='js/libs/jquery-1.5.1.min.js'>\x3C/script>")</script>
  23.  
  24. <!--[if lt IE 7 ]>
  25. <script src="js/libs/dd_belatedpng.js"></script>
  26. <script>DD_belatedPNG.fix("img, .png_bg");</script>
  27. <![endif]-->
  28.  
  29. </body>
  30. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.