1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
4 <title>CSS 2.1 Test Suite: ID as selector</title>
5 <style type="text/css">
6 body, span { color: green; }
7 p#test1a, p#test1b { color: red; }
8 ul#test2 { color: red; }
10 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" title="5.9 ID selectors">
13 <p id="test1a"> <span> This line should be green. </span> </p>
14 <pre id="test1b"> This line should be green. </pre>
16 <li id="test2"> This line should be green. </li>