Skip to content

Instantly share code, notes, and snippets.

@kevinbatdorf-snippits
Created October 29, 2012 21:24
Show Gist options
  • Save kevinbatdorf-snippits/3976635 to your computer and use it in GitHub Desktop.
Save kevinbatdorf-snippits/3976635 to your computer and use it in GitHub Desktop.
HTML: Basic Starter Template
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta content='' name='description' />
<meta content='' name='author' />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Set image icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="image-144x144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="image-114x114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="image-72x72.png">
<link rel="apple-touch-icon-precomposed" href="image-pre-composed.png">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<title>Title of Website</title>
<!-- CSS Files -->
<link rel="stylesheet" href="stylesheets/style.css">
<!-- JS files -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline. Doesn't work when testing locally -->
<!--
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.8.2.min.js"><\/script>')</script>
-->
<script src="js/libs/jquery-1.8.2.min.js"></script>
<script src="js/script.js"></script>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="container">
<header>
<nav role="navigation">
<ul class="nav">
</ul>
</nav>
</header>
<div id="main" role="main">
</div>
<footer>
</footer>
</div>
<!-- end of #container -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment