Skip to content

Instantly share code, notes, and snippets.

@cdharrison
Created January 5, 2012 16:04
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 cdharrison/1565877 to your computer and use it in GitHub Desktop.
Save cdharrison/1565877 to your computer and use it in GitHub Desktop.
HTML5 Starter File
<!doctype html>
<html>
<head>
<title>Starter HTML Document</title>
<meta charset="utf-8" />
<style>
/* @import url(reset.css); */
/* START: reset.css */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* END reset.css */
/* Basic Stylesheet Structure */
@import url(base.css); /* Base Stylesheet */
@import url(layout.css); /* Layout */
@import url(fonts.css); /* Typography */
@import url(custom.css); /* For anything else, overrides, etc. */
</style>
<!-- HTML5Shiv | http://code.google.com/p/html5shiv/ -->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body id="" class="">
<header class="container">
<section id="logo">
<a href="#" title=""></a>
</section>
<section id="utility">
</section>
</header>
<nav class="container">
<ul>
<li><a href="#" title="" class=""></a></li>
<li><a href="#" title="" class=""></a></li>
<li><a href="#" title="" class=""></a></li>
<li><a href="#" title="" class=""></a></li>
</ul>
</nav>
<section id="main" class="container">
<h1>Page Title</h1>
<section id="content">
<article>
<h2>Article Title</h2>
<p>Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here. Some text goes here. </p>
<p>Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here. Some text goes here. </p>
</article>
</section><!-- /#content -->
<aside>
<!-- Typically used as a sidebar. To be floated right or left. -->
</aside>
</section><!-- /#main -->
<footer>
<p>
Copyright &copy;
<?php echo date( "Y" ); ?> <!-- http://php.net/manual/en/function.date.php -->
</p>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment