14 lines
420 B
HTML
14 lines
420 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: Contextual selectors</title>
|
|
<style type="text/css">
|
|
p {color: green;}
|
|
html body div {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>
|
|
</body>
|
|
</html> |