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: Invalid Identifiers (starting with double -) as Classes and IDs</title>
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters">
7 <style type="text/css">
8
9 .one { color: green; background: white; }
10 .--ident, .one { color: red; }
11
12 .two { color: green; background: white; }
13 #--ident, .two { color: red; }
14
15 </style>
16
17 </head>
18 <body>
19
20 <p class="one">This should be green.</p>
21 <p class="two">This should be green.</p>
22
23 </body>
24 </html>