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: Valid Identifiers (starting with escaped digits, control codes) 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: red; background: white; }
10 .\6ident, .one { color: green; }
11
12 .two { color: red; background: white; }
13 #\6ident, .two { color: green; }
14
15 .three { color: red; background: white; }
16 .\36ident, .three { color: green; }
17
18 .four { color: red; background: white; }
19 #\36ident, .four { color: green; }
20
21 </style>
22 </head>
23 <body>
24
25 <p class="one">This should be green.</p>
26 <p class="two">This should be green.</p>
27 <p class="three">This should be green.</p>
28 <p class="four">This should be green.</p>
29
30 </body>
31 </html>