Skip to content

Instantly share code, notes, and snippets.

@shabith
Last active May 13, 2016 10:58
Show Gist options
  • Save shabith/4070343 to your computer and use it in GitHub Desktop.
Save shabith/4070343 to your computer and use it in GitHub Desktop.
HTML5 template with IE7 support
<!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">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="">
<title></title>
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment