Skip to content

Instantly share code, notes, and snippets.

@LaminSanneh
Created July 10, 2013 09:21
Show Gist options
  • Save LaminSanneh/5964814 to your computer and use it in GitHub Desktop.
Save LaminSanneh/5964814 to your computer and use it in GitHub Desktop.
Html5 : starter index
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<title></title>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link href="css/main.css" type="text/css" rel="stylesheet" />
</head>
<body>
<h1> Delete this and put your content here</h1>
<!-- Include jquery from google cdn -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<!-- If cdn is not available, load jquery from disk -->
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="js/main.js"></script>
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src='//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment