Skip to content

Instantly share code, notes, and snippets.

@jpetto
Created August 21, 2012 20:32
Show Gist options
  • Save jpetto/3419174 to your computer and use it in GitHub Desktop.
Save jpetto/3419174 to your computer and use it in GitHub Desktop.
Basic HTML5 Document
<!DOCTYPE html>
<html lang="en">
<head>
<title>Basic HTML5 Template</title>
</head>
<body>
<aside class="message">Hey, pay attention to me.</aside>
<article id="article1">
<header>
<h1>Basic HTML5 Template</h1>
</header>
<section>
<p>Here's a paragraph of text.</p>
<p class="message">Here's a paragraph with a CSS class!</p>
<ul>
<li>Here's an item</li>
<li class="active">Here's an active item</li>
<li>Here's an item</li>
<li>Here's an item</li>
</ul>
</section>
<footer>
Footer text
</footer>
</article>
<article id="article2">
<header>
<h1>CSS Selectors, Too</h1>
</header>
<section>
<p class="message">JavaScript is better than Java. In fact, Java is a dead man walking.</p>
<ol>
<li class="active">Number 1</li>
<li>Number 2</li>
<li>Number 3</li>
</ol>
</section>
</article>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment