Created
May 3, 2012 13:57
-
-
Save davemackintosh/2585822 to your computer and use it in GitHub Desktop.
Good HTML5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
section { | |
width:80%; | |
float:left; | |
} | |
article { | |
width:20%; | |
float:right; | |
} | |
</style> | |
<article role="article"> | |
<hgroup roles="heading"> | |
<h1>Hello</h1> | |
<h4>My strapping strapline</h4> | |
</hgroup> | |
<p>world, content</p> | |
</article> | |
<aside role="directory"> | |
<ol role="navigation"> | |
<!-- Could add role="listitem" here, but thats probably overkill --> | |
<li> | |
<a href="[ommited for privacy]">Home</a> | |
</li> | |
<li> | |
<a href="[ommited for privacy]">About me</a> | |
</li> | |
</ol> | |
</aside> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment