Skip to content

Instantly share code, notes, and snippets.

@brentini
Created October 12, 2012 20:10
Show Gist options
  • Select an option

  • Save brentini/3881248 to your computer and use it in GitHub Desktop.

Select an option

Save brentini/3881248 to your computer and use it in GitHub Desktop.
Simple html5 boilerplate
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title></title>
<link rel="icon" href="http://yourdomain/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<style type="text/css">
body {
}
</style>
</head>
<body>
<!--# Site Header: Start -->
<header>
<!--# Navigation: Start -->
<nav>
<ul>
<li>Your menu</li>
</ul>
</nav>
<!--# Navigation: End -->
</header>
<!--# Site Header: End -->
<!--# Main: Start -->
<section>
<!--# Article #1: Start -->
<article>
<header>
<h2>Article #1 title</h2>
<p>Posted on <time datetime="2010-01-01T10:10:10+02:00">January 1st 2010</time></p>
</header>
<p>Your article goes here.</p>
</article>
<!--# Article #1: End -->
<!--# Article #2: Start -->
<article>
<header>
<h2>Article #2 title</h2>
<p>Posted on <time datetime="2010-01-01T10:10:10+02:00">January 1st 2010</time></p>
</header>
<p>Your article goes here.</p>
</article>
<!--# Article #2: End -->
</section>
<!--# Main: End -->
<!--# Sidebar: Start -->
<aside>
<h2>About section</h2>
<p>Your text goes here.</p>
</aside>
<!--# Sidebar: End -->
<!--# Footer: Start -->
<footer>
<p>Copyright 2010 Your name</p>
</footer>
<!--# Footer: End -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="{SCRIPT}"></script>
<script>
$(document).ready(function() {
});
</script>
</body>
</html>
@PowerisTsutsun
Copy link
Copy Markdown

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment