Posted By

rickygri on 03/12/13


Tagged

standards mobile boilerplate html5 shiv open-graph ie7js


Versions (?)

Basic HTML5 Template


 / Published in: HTML
 

Basic HTML template including jQuery and HTML5 Shiv

  1. <!DOCTYPE html>
  2. <!--[if IE 6]><html version="HTML+RDFa 1.1" id="ie6" lang="en-US"><![endif]-->
  3. <!--[if IE 7]><html version="HTML+RDFa 1.1" id="ie7" lang="en-US"><![endif]-->
  4. <!--[if IE 8]><html version="HTML+RDFa 1.1" id="ie8" lang="en-US"><![endif]-->
  5. <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!--><html version="HTML+RDFa 1.1" lang="en-US"><!--<![endif]-->
  6.  
  7. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  9.  
  10. <meta name="HandheldFriendly" content="true" /><!-- MOBILE - ANDROID -->
  11. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0"><!-- MOBILE -->
  12.  
  13. <meta name="description" content=""/>
  14. <meta name="keywords" content="">
  15. <meta name="author" content="Ricky Grimaldi">
  16. <meta name="robots" content="NOINDEX, NOFOLLOW">
  17.  
  18. <!-- Open-Graph Meta -->
  19. <meta property="og:title" content=""/>
  20. <meta property="og:type" content="website"/>
  21. <meta property="og:url" content=""/>
  22. <meta property="og:image" content=""/>
  23. <meta property="og:site_name" content=""/>
  24. <meta property="og:description" content=""/>
  25.  
  26. <title>Ricky Grimaldi | HTML5 Template</title>
  27.  
  28. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
  29. <link rel="stylesheet" type="text/css" href="css/style.css">
  30.  
  31. <!-- HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem -->
  32. <!--[if lt IE 9]>
  33. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  34. <![endif]-->
  35. <!-- IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards -->
  36. <!--[if lt IE 9]>
  37. <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
  38. <![endif]-->
  39.  
  40. </head>
  41. <body>
  42.  
  43. </body>
  44. </html>

Report this snippet  

You need to login to post a comment.