HTML5 & CSS3 Lesson 003

HTML5 & CSS3 Lesson 003


CssGraphic

<!-- Name: HTML5 & CSS3 Lesson 003 -->
<!-- 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 003</title>
    <style type="text/css">
      body {
        background: red;
      
      }
      
      div {
        background: orange;
      
      }
      
      div {
        width: 20%;
      
      }
      
      h1, nav {
        background: fuchsia;
        
      } 
      
      li {
        background: cadetblue;
      
      }
      
      a {
        background: yellow;
      
      }
      
    </style>
  </head>

  <body>
    <div>
      <h1>HTML5 & CSS3 Lesson 003</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>