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.5 ID 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">
12 P#two, P#two2 {color: blue;}
13 P#three, P#three2 {color: purple;}
16 P#five, P#five2 {color: blue;}
17 P#six, P#six2 {color: purple;}
</STYLE>
21 <BODY><P>The style declarations which apply to the text below are:
</P>
22 <PRE>#one {color: green;}
24 P#two, P#two2 {color: blue;}
25 P#three, P#three2 {color: purple;}
28 P#five, P#five2 {color: blue;}
29 P#six, P#six2 {color: purple;}
</PRE>
32 This sentence should be green.
35 This sentence should be green.
38 This paragraph should be blue [
<TT>ID=
"two"</TT>].
40 <PRE ID=
"two2">This sentence should NOT be blue [PRE
ID=
"two2"].
42 <PRE ID=
"three">This sentence should be black, not purple [PRE
ID=
"three"].
45 <LI ID=
"three2">This sentence should NOT be purple.
49 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
51 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
54 <TD bgcolor=
"silver"> </TD>
56 This sentence should be green.
59 This sentence should be green.
62 This paragraph should be blue [
<TT>ID=
"five"</TT>].
64 <PRE ID=
"five2">This sentence should NOT be blue [PRE
ID=
"five2"].
66 <PRE ID=
"six">This sentence should be black [PRE
ID=
"six"].
69 <LI ID=
"six2">This sentence should NOT be purple.
71 </TD></TR></TABLE></BODY>