Skip to content

Instantly share code, notes, and snippets.

@bookwyrm
Created January 22, 2012 23:50
Show Gist options
  • Save bookwyrm/1659433 to your computer and use it in GitHub Desktop.
Save bookwyrm/1659433 to your computer and use it in GitHub Desktop.
HTML5 base template based on HTML5 Boilerplate
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<script>
var _gaq=[['_setAccount','UA-XXXXX-Y'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<!--[if lt IE 9]>
<script src="/js/libs/html5shiv-3.3.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<div id="container">
<header>
</header>
<div id="main" role="main">
</div>
<footer>
</footer>
</div> <!--! end of #container -->
<script src="/js/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="/js/plugins.js" type="text/javascript"></script>
<script src="/js/script.js" type="text/javascript"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment