class-selector-008

CSS: Case Sensitive Classes

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: CSS: Case Sensitive Classes</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/class/001.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html">
 8   <style type="text/css">
 9    .teST { color: green; }
10    .TEst { background: red; color: yellow; } /* doesn't apply */
11   </style>
12  </head>
13  <body>
14   <p class="teST">This text should be green.</p>
15  </body>
16 </html>