c45-bg-canvas-000

The Canvas

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: The Canvas</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#the-canvas">
 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    html { background-color: purple; }
10    body { background-color: navy; background-image: none; margin: 25px; color: white; }
11   </style>
12   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" title="14.2 The background">
13   <link rel="help" href="http://www.w3.org/TR/CSS21/intro.html#the-canvas" title="2.3.1 The canvas">
14  </head>
15  <body>
16   <p>This paragraph should be in a blue block near the top of the
17   page. Around it on all sides should be purple.</p>
18  </body>
19 </html>