forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanchor.html
More file actions
79 lines (71 loc) · 2.62 KB
/
anchor.html
File metadata and controls
79 lines (71 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>CSS1 Test Suite: 2.1 anchor</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
<STYLE type="text/css">
A {color: green;}
A:link {color: purple;}
A:visited {color: lime;}
A:active {color: maroon;}
#one {color: #006600;}
</STYLE>
</HEAD>
<BODY><P>The style declarations which apply to the text below are:</P>
<PRE>A {color: green;}
A:link {color: purple;}
A:visited {color: lime;}
A:active {color: maroon;}
#one {color: #006600;}
</PRE>
<HR>
<P>
The following anchors should appear as described; none of them should be red.
</P>
<UL>
<LI>Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):
<UL>
<LI><A HREF="http://www.w3.org/">W3C Web server</A>
<LI><A HREF="http://www.nist.gov/">NIST Web server</A>
<LI><A HREF="http://www.cwru.edu/">CWRU Web server</A>
<LI><A HREF="http://www.yahoo.com/">Yahoo!</A>
<LI><A HREF="none.html">Erewhon</A> (don't click on it, it goes nowhere)
</UL>
<LI>Dark green in any circumstance:
<UL>
<LI><A HREF="http://www.cwru.edu/" ID="one">CWRU Web server</A>
</UL>
</UL>
<P>
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.
</P>
<TABLE border cellspacing="0" cellpadding="3" class="tabletest">
<TR>
<TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
</TR>
<TR>
<TD bgcolor="silver"> </TD>
<TD><P>
The following anchors should appear as described; none of them should be red.
</P>
<UL>
<LI>Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):
<UL>
<LI><A HREF="http://www.w3.org/">W3C Web server</A>
<LI><A HREF="http://www.nist.gov/">NIST Web server</A>
<LI><A HREF="http://www.cwru.edu/">CWRU Web server</A>
<LI><A HREF="http://www.yahoo.com/">Yahoo!</A>
<LI><A HREF="none.html">Erewhon</A> (don't click on it, it goes nowhere)
</UL>
<LI>Dark green in any circumstance:
<UL>
<LI><A HREF="http://www.cwru.edu/" ID="one">CWRU Web server</A>
</UL>
</UL>
<P>
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.
</P>
</TD></TR></TABLE></BODY>
</HTML>