c531-color-000

color

WeasyPrint

This browser

Source

 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: color</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#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    .one {color: green;}
10   </style>
11   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" title="14.1 Foreground color: the 'color' property">
12  </head>
13  <body>
14   <p class="one">
15    This line should be green.
16   </p>
17   <p style="color: green;">
18    This line should be green.
19   </p>
20  </body>
21 </html>