blob: d95831925e1361c3eb7701e99eb63e7972505f44 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: ID as selector</title>
<style type="text/css">
body, span { color: green; }
p#test1a, p#test1b { color: red; }
ul#test2 { color: red; }
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" title="5.9 ID selectors">
</head>
<body>
<p id="test1a"> <span> This line should be green. </span> </p>
<pre id="test1b"> This line should be green. </pre>
<ul>
<li id="test2"> This line should be green. </li>
</ul>
</body>
</html>