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:
2.1 anchor
</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">
11 A:link {color: purple;}
12 A:visited {color: lime;}
13 A:active {color: maroon;}
14 #one {color: #
006600;}
19 <BODY><P>The style declarations which apply to the text below are:
</P>
20 <PRE>A {color: green;}
21 A:link {color: purple;}
22 A:visited {color: lime;}
23 A:active {color: maroon;}
24 #one {color: #
006600;}
29 The following anchors should appear as described; none of them should be red.
33 <LI>Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):
35 <LI><A HREF=
"http://www.w3.org/">W3C Web server
</A>
36 <LI><A HREF=
"http://www.nist.gov/">NIST Web server
</A>
37 <LI><A HREF=
"http://www.cwru.edu/">CWRU Web server
</A>
38 <LI><A HREF=
"http://www.yahoo.com/">Yahoo!
</A>
39 <LI><A HREF=
"none.html">Erewhon
</A> (don't click on it, it goes nowhere)
41 <LI>Dark green in any circumstance:
43 <LI><A HREF=
"http://www.cwru.edu/" ID=
"one">CWRU Web server
</A>
47 The quoted word
"<A NAME="test
">anchor</A>" should be green, NOT purple, since it's part of an anchor. It's a named anchor, and styles declared for the A tag are applied to them under CSS1. It also should NOT turn orange when clicked upon.
51 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
53 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
56 <TD bgcolor=
"silver"> </TD>
58 The following anchors should appear as described; none of them should be red.
62 <LI>Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):
64 <LI><A HREF=
"http://www.w3.org/">W3C Web server
</A>
65 <LI><A HREF=
"http://www.nist.gov/">NIST Web server
</A>
66 <LI><A HREF=
"http://www.cwru.edu/">CWRU Web server
</A>
67 <LI><A HREF=
"http://www.yahoo.com/">Yahoo!
</A>
68 <LI><A HREF=
"none.html">Erewhon
</A> (don't click on it, it goes nowhere)
70 <LI>Dark green in any circumstance:
72 <LI><A HREF=
"http://www.cwru.edu/" ID=
"one">CWRU Web server
</A>
76 The quoted word
"<A NAME="test
">anchor</A>" should be green, NOT purple, since it's part of an anchor. It's a named anchor, and styles declared for the A tag are applied to them under CSS1. It also should NOT turn orange when clicked upon.
78 </TD></TR></TABLE></BODY>