
<!-- Name: HTML5 & CSS3 Lesson 005 -->
<!-- Date: 06/23/2013 -->
<!-- Description: Basic HTML5 & CSS3 Styling Presented by paullewallen.com -->
<!-- Author: Paul Lewallen -->
<!-- Version: 1.0 -->
<!DOCTYPE html>
<html>
<head>
<title>HTML5 & CSS3 Lesson 005</title>
<style type="text/css">
* {
font-style: italic;
}
body {
background: red;
}
div {
background: orange;
width: 20%;
}
div * {
border: 0.2em solid red;
}
h1, nav {
background: fuchsia;
}
li {
background: cadetblue;
}
a {
background: yellow;
}
</style>
</head>
<body>
<div>
<h1>HTML5 & CSS3 Lesson 005</h1>
<h2>Selecting By Element Type</h2>
<nav>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</nav>
</div>
</body>
</html>