/
main.html
181 lines (163 loc) · 4.66 KB
/
main.html
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<html>
<head>
<title>Main Page 1</title>
<script>
function echo() {
var textToEcho = document.getElementById('textToEcho');
if (textToEcho.value != "")
document.getElementById('echoedText').value = textToEcho.value;
}
</script>
</head>
<body>
<div id="errors" class="errors">
<div id="message0">message 0</div>
<ul>
<li>message 1</li>
<li>message 2</li>
<li id="message3">message 3</li>
</ul>
</div>
<div id="Upper">UPPER</div>
<div id="upper">upper</div>
<table id="table1">
<tr>
<td><span name="firstName">pinky</span></td>
<td><span name="lastName">jones</span></td>
</tr>
<tr>
<td><span name="firstName">john</span></td>
<td><span name="lastName">doe</span></td>
</tr>
</table>
<table id="table2">
<tr>
<td>First Name</td>
<td>john</td>
</tr>
<tr>
<td>Last Name</td>
<td>doe</td>
</tr>
<tr>
<td>
SSN
</td>
<td>
555-55-5555
</td>
</tr>
</table>
<table id="table3">
<tr>
<td>first name</td>
<td>last name</td>
</tr>
<tr>
<td>pinky</td>
<td>jones1</td>
</tr>
<tr>
<td>winky</td>
<td>jones2</td>
</tr>
<tr>
<td>dinky</td>
<td>jones3</td>
</tr>
<tr>
<td>linky</td>
<td>jones4</td>
</tr>
<tr>
<td>stinky</td>
<td>jones5</td>
</tr>
</table>
<table id="table4">
<tr>
<td colspan="2">poorly desinged layout</td>
</tr>
<tr>
<td>first name</td>
<td>last name</td>
</tr>
<tr>
<td>pinky</td>
<td>jones1</td>
</tr>
<tr>
<td>winky</td>
<td>jones2</td>
</tr>
</table>
<ul id="myUnorderedList">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
<li>item 4</li>
<li>item 5</li>
</ul>
<ol id="myOrderedList">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ol>
<form id="form0" name="namedForm0" action="testit/form0">
<fieldset>
<legend>form 0</legend>
<input type="text" id="nameId" name="name" value="a default value"/>
<select id="autoId" name="auto">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
<div>
<input type="radio" id="radio1_1" name="radio1" value="radio 1 value 1"/>
<input type="radio" id="radio1_2" name="radio1" value="radio 1 value 2"/>
<input type="radio" id="radio1_3" name="radio1" value="radio 1 value 3" checked="true"><label
for="radio1_3">radio content 3</label>
</div>
<input type="checkbox" id="checkbox1" name="namedCheckbox1" value="Checkbox 1"><label for="checkbox1">the first
checkbox</label>
<input type="checkbox" id="checkbox2" name="namedCheckbox2" value="Checkbox 2" checked="true"/>
<input type="checkbox" id="checkbox3" name="namedCheckbox3" value="Checkbox 3" checked="true"/>
<input type="submit" id="submit1" name="namedSubmit1" value="Submit 1"/>
<input type="submit" id="submit2" name="namedSubmit2" value="Submit 2"/>
</fieldset>
</form>
<form id="form1" name="namedForm1" action="testit/form1">
<fieldset>
<legend>form 1</legend>
<input type="submit" value="OK"/>
</fieldset>
</form>
<form id="form2" name="namedForm2" action="testit/form2">
<fieldset>
<legend>form 2</legend>
<input type="submit" value="OK"/>
</fieldset>
</form>
<form id="form3" name="namedForm3" action="testit/form3">
<fieldset>
<legend>form 3</legend>
<input id="textToEcho" onchange="echo();" type="text" value=""/>
<input id="echoedText" type="text" value=""/>
</fieldset>
<select id="auto2Id" name="auto2" multiple="true">
<option value="volvo" selected="true">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
<input type="submit" value="OK"/>
</form>
<a id="rainbow" name="namedRainbow" href="rainbow.html">the rainbow</a>
<a id="cloud" name="namedCloud" href="cloud.html">the cloud</a>
<div id="multiline">
multi-line text
</div>
<input id="valueWithSpaces" type="text" value=" abc "/>
</body>
</html>