tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

c14-classes-000.xht (1266B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Class as selector</title>
      5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#class-as-selector"/>
      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   <link rel="match" href="c14-classes-000-ref.xht" />
      9 
     10   <style type="text/css"><![CDATA[
     11    body { color: red; }
     12    div { color: green; }
     13 
     14    .one { color: green; }
     15    .1 { color: red; }
     16    .a1 {color: green;}
     17    p.two { color: green; }
     18    p.three { color: red; }
     19   ]]></style>
     20   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" title="5.8.3 Class selectors"/>
     21  </head>
     22  <body>
     23   <p class="one"> This sentence should be green. </p>
     24   <div> <p class="1"> This sentence should be green. </p> </div>
     25   <p class="a1"> This sentence should be green. </p>
     26   <p class="two"> This sentence should be green. </p>
     27   <div> <pre class="three">This sentence should be green.</pre> </div>
     28   <div> <ul> <li class="three">This sentence should be green. </li> </ul> </div>
     29  </body>
     30 </html>