1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite: 1.4 Class as selector</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css">
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
9 <STYLE type="text/css">
10 body {overflow: hidden;}
14 P.two {color: purple;}</STYLE>
18 <BODY><P>The style declarations which apply to the text below are:</P>
19 <PRE>.one {color: green;}
22 P.two {color: purple;}
26 This sentence should be green.
29 This sentence should be black, not red-- class selectors cannot begin with digits in CSS1.
32 This sentence should be green.
35 This sentence should be purple.
37 <PRE class="two">This sentence should NOT be purple.
40 <LI class="two">This sentence should NOT be purple.
44 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
46 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
49 <TD bgcolor="silver"> </TD>
51 This sentence should be green.
54 This sentence should be black, not red-- class selectors cannot begin with digits in CSS1.
57 This sentence should be green.
60 This sentence should be purple.
62 <PRE class="two">This sentence should NOT be purple.
65 <LI class="two">This sentence should NOT be purple.
67 </TD></TR></TABLE></BODY>