﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>CSS 2.1 Test Suite: Contextual selectors</title>
  <style type="text/css">
   ul {color: green;}
   p {color: red;}
   html body div p {color: green;}
   span, ul li li {color: red;}
  </style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#descendant-selectors" title="5.5 Descendant selectors">
 </head>
 <body>
  <div><p> This line should be green. </p></div>
  <ul>
   <li>
    <span> </span> This line should be green.
   </li>
  </ul>
 </body>
</html>