Skip to content

Instantly share code, notes, and snippets.

@data-enhanced
Last active December 14, 2015 02:29
Show Gist options
  • Save data-enhanced/5014369 to your computer and use it in GitHub Desktop.
Save data-enhanced/5014369 to your computer and use it in GitHub Desktop.
Basic structural tags for the body of an html5 document Includes the new <main> tag! Based on HTML5 Bones http://html5bones.com/
<!--
* Basic structural tags for the body of an html5 document
* Based on HTML5 Bones http://html5bones.com/
-->
<header role="banner">
<h1>Main Title</h1>
<nav role="navigation">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div class="content-wrap"><!-- for styling and layout purposes only -->
<main role="main">
<h1>Page Heading</h1>
<p>Content specific to this page.</p>
</main>
<aside role="complementary">
<p>Generic content such as recent posts, etc., not specific to this page.</p>
</aside>
</div><!-- /.content-wrap -->
<footer role="contentinfo">
<small>Copyright &copy; <time datetime="2013">2013</time></small>
</footer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment