1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: background-color</title>
5 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#background-color">
6 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
7 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
8 <style type="text/css">
9 p {background-color: lime;}
10 .one {background-color: #AAFFAA;}
11 .two {background-color: transparent;}
12 </style>
13 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
14 </head>
15 <body>
16 <p> This line should be green. </p>
17 <p> This line <span class="two">should be green</span> too.</p>
18 <p class="one"> This line should be pale green. </p>
19 </body>
20 </html>