HTML
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 | CSS3</title>
<link type="text/css" rel="stylesheet" href="screen.css" media="screen">
</head>
<body>
<header>
<h1>Titel</h1>
</header>
<nav>
<ul>
<li><a href="">Link 1</a></li>
<li><a href="">Link 2</a></li>
<li><a href="">Link 3</a></li>
<li><a href="">Link 4</a></li>
<li><a href="">Link 5</a></li>
</ul>
</nav>
<article>
<header>
<h2>Article</h2>
</header>
<section>
<header>
<h3>Section 1</h3>
</header>
<p>Paragraaf 1.1</p>
<p>Paragraaf 1.2</p>
<p>Paragraaf 1.3</p>
</section>
<section>
<header>
<h3>Section 2</h3>
</header>
<p>Paragraaf 2.1</p>
<p>Paragraaf 2.2</p>
<p>Paragraaf 2.3</p>
</section>
</article>
<aside>
<header>
<h2>Aside</h2>
</header>
<section>
<header>
<h3>Section 3</h3>
</header>
<p>Paragraaf 3.1</p>
<p>Paragraaf 3.2</p>
<p>Paragraaf 3.3</p>
</section>
</aside>
<footer>
<p>© 2014 | <a href="">Created in HTML5</a> | <a href="">Designed with CSS3</a></p>
</footer>
</body>
</html>CSS/* CSS Document */
/* Blocks */
address, article, aside, audio, blockquote, canvas, dd, div, dl, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, noscript, ol, output, p, pre, section, table, tfoot, ul, video
{
display: block;
}
/* inline */
b, big, i, small, tt, abbr, acronym, cite, code, dfn, em, kbd, strong, samp, var, a, bdo, br, img, map, object, q, script, span, sub, sup, button, input, label, select, textarea
{
display: inline;
}
/* HTML5 */
html, body
{
min-height: 100%;
}
html
{
overflow: auto;
}
body
{
display: table;
width: 100%;
}
/* Header */
body > header
{
caption-side: top;
display: table-caption;
}
body > header h1
{
color: #FFF;
background: none #333;
margin: 0 0 0 0;
padding: 0.5em 0.5em 0.5em 0.5em;
}
/* Navigation */
body > nav
{
color: #FFF;
background: none #000;
display: table-caption;
caption-side: top;
}
body > nav ul
{
list-style: none;
overflow: hidden;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
body > nav ul li
{
display: inline-block;
overflow: hidden;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
body > nav ul li a
{
color: #FFF;
background: none transparent;
white-space: nowrap;
text-decoration: none;
margin: 0 0 0 0;
padding: 0.5em 1em 0.5em 1em;
}
body > nav ul li a:hover,
body > nav ul li a:focus
{
text-decoration: underline;
}
/* Article */
body > article,
body > aside
{
color: #000;
background: none transparent;
display: table-cell;
margin: 0 0 0 0;
padding: 0 0 0 0;
width: auto;
vertical-align: top;
}
/* Sidebar */
body > aside
{
width: 250px;
max-width: 25%;
}
/* Content */
body > article > header,
body > aside > header
{
overflow: hidden;
}
body > article > header h2,
body > aside > header h2
{
color: #FFF;
background: none #369;
overflow: hidden;
margin: 0 0 0 0;
padding: 0.5em 1em 0.5em 1em;
}
body > article section,
body > aside section
{
color: #000;
background: none #DDD;
border: none 0 transparent;
border-radius: 0.5em;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
body > article section header,
body > aside section header
{
margin: 0 0 0 0;
padding: 0 0 0 0;
}
body > article section header h3,
body > aside section header h3
{
color: #FFF;
background: none #600;
font-variant: small-caps;
letter-spacing: 0.1em;
margin: 0 0 0 0;
padding: 0.5em 1em 0.5em 1em;
}
body > article section p,
body > aside section p
{
color: #000;
background: none #DDD;
font-size: 1em;
font-weight: 100;
line-height: 1.5em;
letter-spacing: 0.01em;
margin: 0 0 0 0;
padding: 0.5em 1em 0.5em 1em;
overflow: hidden;
clear: none;
}
/* Footer */
footer
{
color: #FFF;
background: none #333;
caption-side: bottom;
display: table-caption;
}
footer p
{
color: #FFF;
background: none transparent;
text-align: center;
margin: 0 0 0 0;
padding: 1em 1em 1em 1em;
}
footer p a
{
color: #FFF;
background: none transparent;
text-decoration: none;
}
footer p a:hover,
footer p a:focus
{
color: #FFF;
background: none transparent;
text-decoration: underline;
}