<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Base HTML5 structure</title>
</head>
<body>
Hello world!
</body>
<!-- Comment -->
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/3d.css" />
</head>
<body>
<header>
header
</header>
<article>
article
<section>
section
<p>paragraph</p>
</section>
</article>
<footer>
footer
</footer>
</body>
</html>
<div id="menu_glowne">
<div><a href="#o-nas">O nas</a></div>
<div><a href="#galeria">Galeria</a></div>
<div><a href="#kontakt">Kontakt</a></div>
</div>
<nav>
<ul>
<li><a href="#o-nas">O nas</a></li>
<li><a href="#galeria">Galeria</a></li>
<li><a href="#kontakt">Kontakt</a></li>
</ul>
</div>
<!DOCTYPE html>
<html>
<head>
<title>Base layout</title>
<link rel="stylesheet" href="css/semantic.css" />
</head>
<body>
<header>
<nav>Navigation</nav>
</header>
<article>
<header>
<h1>title</h1>
<time datetime="2013-10-14">date</time>
</header>
<p>Content</p>
</article>
<aside>comments</aside>
<footer>
footer
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/boxing.css"/>
<style>
#boxing {
width: 150px;
height: 150px;
margin: auto;
line-height: 150px;
padding: 10px;
border: 10px solid #fff;
background: #000;
}
#inner {
background: #ddd;
}
</style>
</head>
<body>
<div id="boxing">
<div id="inner"></div>
</div>
<script language="JavaScript">
var box = document.getElementById('boxing');
var inner = document.getElementById('inner');
inner.innerText = box.offsetWidth + 'px';
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/boxing.css"/>
<style>
#boxing {
width: 150px;
height: 150px;
margin: auto;
line-height: 110px;
padding: 10px;
border: 10px solid #fff;
background: #000;
box-sizing: border-box;
}
#inner {
background: #ddd;
}
</style>
</head>
<body>
<div id="boxing">
<div id="inner"></div>
</div>
<script language="JavaScript">
var box = document.getElementById('boxing');
var inner = document.getElementById('inner');
inner.innerText = box.offsetWidth + 'px';
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/boxing.css"/>
<style>
.row {
width: 48%;
padding: 1%;
border: 1px solid #000;
float: left;
}
</style>
</head>
<body>
<div class="row">1</div>
<div class="row">2</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/boxing.css"/>
<style>
.row {
width: 50%;
padding: 1%;
border: 1px solid #000;
float: left;
box-sizing: border-box;
}
</style>
</head>
<body>
<div class="row">1</div>
<div class="row">2</div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/3d.css" />
</head>
<body>
<header>
header
</header>
<article>
article
<section>
section
<p>paragraph</p>
</section>
</article>
<footer>
footer
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/block.css" />
</head>
<body>
Text without tag
<cite>cite</cite>
<a href="#">a</a><span>span</span>
<strong>a very long and important text in strong</strong>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/base.css" />
</head>
<body>
<header>
header
</header>
<article style="display: inline-block; width: 50%">
article
</article><aside style="display: inline-block; width: 50%">aside</aside>
<aside style="display: inline-block; width: 70%">aside</aside>
<footer>
footer
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p>
<img src="../img/html5.png" style="float: left" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
...
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="float: right" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer style="clear: right">
Lorem ipsum dolor sit amet ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p style="background: #fff">
<img src="../img/html5.png" style="float: left" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
...
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="float: right" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer style="clear: right">
Lorem ipsum dolor sit amet ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p style="background: #fff">
<img src="../img/html5.png" style="float: left" />
<img src="../img/html5.png" style="float: left" />
<img src="../img/html5.png" style="float: left" />
<img src="../img/html5.png" style="float: left" />
<img src="../img/html5.png" style="float: left" />
</p>
</article>
<footer style="clear: left">
Lorem ipsum dolor sit amet ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/base.css" />
</head>
<body>
<header>
header
</header>
<article style="float: left; width: 50%">
article
</article>
<aside style="float: left; width: 50%">aside</aside>
<aside style="float: left; width: 70%">aside</aside>
<footer style="clear:left">
footer
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p>
<img src="../img/html5.png" style="position:fixed" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
...
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="position: fixed" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer>
Lorem ipsum dolor sit amet, ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p>
<img src="../img/html5.png" style="position:fixed; left: 20px; top: 20px" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
...
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="position: fixed; right: 20px; bottom: 20px" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer>
Lorem ipsum dolor sit amet, ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p>
<img src="../img/html5.png" style="float: left; position:relative;" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
...
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="float: right; position: relative;" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer style="clear: both">
Lorem ipsum dolor sit amet ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p>
<img src="../img/html5.png" style="float: left; position:relative; left: -20px; top: -20px" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
...
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="float: right; position: relative; right: -20px; bottom: -20px" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer style="clear: both">
Lorem ipsum dolor sit amet ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article style="position: relative">
<p>
<img src="../img/html5.png" style="float: left; position:absolute; left: 20px; top: 20px" />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
sagittis nec orci. Mauris massa diam, congue eu tincidunt eget, dignissim at justo.
<img src="../img/html5.png" style="float: right; position: absolute; right: 20px; bottom: 20px" />
Suspendisse tempor orci eget elementum dapibus. Phasellus at ornare augue.
</p>
</article>
<footer style="clear: both">
Lorem ipsum dolor sit amet ...
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/absolute.css" />
</head>
<body>
<nav>
<ul>
<li>Item</li>
<li>
Item2
<ul>
<li>SubItem</li>
<li>SubItem2</li>
</ul>
</li>
</ul>
</nav>
<article>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia iaculis semper.
Proin vehicula venenatis lacus, eu vulputate enim consequat vitae.
Donec venenatis malesuada ipsum id lacinia. Sed vel egestas risus. Nunc vel mattis diam.
</p>
</article>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Base HTML5 structure</title>
<link rel="stylesheet" href="css/float.css" />
</head>
<body>
<article>
<p style="position: relative">
<img src="../img/html5.png"
style="position: absolute; left: 0; top: 0; z-index: 1">
<img src="../img/html5.png"
style="position: absolute; left: 128px; top: 0">
<img src="../img/html5.png"
style="position: absolute; left: 0; top: 128px">
<img src="../img/html5.png"
style="position: absolute; left: 128px; top: 128px; z-index: 1">
<img src="../img/html5.png"
style="position: absolute; left: 64px; top: 64px">
</p>
</article>
</body>
</html>