HTML5 & CSS3 Lesson 012

HTML5 & CSS3 Lesson 012


CssGraphic

<!-- Name: HTML5 & CSS3 Lesson 012 -->
<!-- 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 012</title>
    <style type="text/css">
      #groceries ul li {
        color: dodgerblue ;
      
      }
      
      #groceries ol li {
        color: orangered ;
      
      }
      
    </style>
  </head>

  <body>
    <div id="groceries">
      <h1>HTML5 & CSS3 Lesson 012</h1>
      <h2>Selecting Descendants</h2>
      <ul>
        <li>Chicken</li>
        <li>Beans</li>
        <li>Carrots</li>
        <li>Eggs</li>
      </ul>
      <ol>
        <li>Milk</li>
        <li>Tea</li>
        <li>Coffee</li>
      </ol>
    
    </div>
  </body>
</html>