c17-comments-000

Comments

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: Comments</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#comments">
 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    body { color: red; }
10    /* This is a CSS comment. */
11    .one {color: green;} /* Another comment */
12    /* The following should not be used:
13    .two {color: red;} */
14    .three {color: green; /* color: red; */}
15    /**
16    .four {color: red;} */
17    .five {color: green;}
18    /**/
19    .six {color: green;}
20    /*********/
21    .seven {color: green;}
22    /* a comment **/
23    .eight {color: green;}
24   </style>
25   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#comments" title="4.1.9 Comments">
26  </head>
27  <body>
28   <p class="one">
29    This line should be green.
30   </p>
31   <p class="three">
32    This line should be green.
33   </p>
34   <p class="five">
35    This line should be green.
36   </p>
37   <p class="six">
38    This line should be green.
39   </p>
40   <p class="seven">
41    This line should be green.
42   </p>
43   <p class="eight">
44    This line should be green.
45   </p>
46  </body>
47 </html>