Skip to content

Instantly share code, notes, and snippets.

@JulienBreux
Created August 6, 2012 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulienBreux/3274381 to your computer and use it in GitHub Desktop.
Save JulienBreux/3274381 to your computer and use it in GitHub Desktop.
HTML5 - Simple layout
<!doctype html>
<!--[if lt IE 7 ]> <html lang="fr" class="lang-fr no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="fr" class="lang-fr no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="fr" class="lang-fr no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="fr" class="lang-fr no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="fr" class="lang-fr no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico">
<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family="> -->
<link rel="stylesheet" href="assets/css/common.css?v=1">
<!--[if lt IE 9]><script src="assets/js/html5shiv.js"></script><![endif]-->
</head>
<body>
<!-- Content -->
<!-- Scripts -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/js/jquery-1.7.2.min.js"><\/script>')</script>
<script src="assets/js/common.js?v=1"></script>
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_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>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment