-
Notifications
You must be signed in to change notification settings - Fork 0
/
abc.html
131 lines (113 loc) · 5.65 KB
/
abc.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
<!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TRF Level 2 Test</title>
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen">
<link href="css/layout.css" rel="stylesheet" type="text/css" media="screen">
<link href="css/nav.css" rel="stylesheet" type="text/css" media="screen">
<link href="css/quiz.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body>
<div id="container">
<div id="header">
<img src="signinimg.jpg" width="900" height="200" alt="HTML NOW"> </div>
<!-- header END -->
<div id="nav">
</div> <!-- nav END -->
<div id="content">
<h1>Level 2 Test</h1>
<div id="content-left">
<h2>Ready for the Test?</h2>
<form id="form6" method="post" action="submit.php" id="form">
<fieldset>
<legend>Multiple Choice</legend>
<div>
1. The two most important attributes of a form.<code></code>
<br>
<input type="radio" name="q_0" id="question0_0" value="0">
Id and action<br>
<input type="radio" name="q_0" id="question0_1" value="1"> <label>Class and method</label>
<br>
<input type="radio" name="q_0" id="question0_2" value="2"> <label>Action and method</label>
</div>
<div>
2. Defines the caption to the fieldset tag.<br>
<input type="radio" name="q_1" id="question1_0" value="0">
<code><legend></code><br>
<input type="radio" name="q_1" id="question1_1" value="1"> <label><code><h1></code></label>
<br>
<input type="radio" name="q_1" id="question1_2" value="2"> <label><code><caption></code></label>
</div>
<div>
3. A label's for attribute should match the input's ______.<br>
<input type="radio" name="q_2" id="question2_0" value="0">
Type<br>
<input type="radio" name="q_2" id="question2_1" value="1"> <label>Id</label>
<br>
<input type="radio" name="q_2" id="question2_2" value="2"> <label>Name</label>
</div>
<div>
4. The action attribute tells the form?<br>
<input type="radio" name="q_3" id="question3_0" value="0">
How to send the form’s data<br>
<input type="radio" name="q_3" id="question3_1" value="1">
Where to send the form’s data<br>
<input type="radio" name="q_3" id="question3_2" value="2">
When to send the form’s data</div>
<div>
5. Creates blank text field, but shows the text as dots.<code></code>
<br>
<input type="radio" name="q_4" id="question4_0" value="0">
Type="text"<br>
<input type="radio" name="q_4" id="question4_1" value="1">
Type="hidden"<br>
<input type="radio" name="q_4" id="question4_2" value="2">
Type="password"</div>
</fieldset>
<fieldset>
<legend>True/False</legend>
<div>
6. Method attribute will always post data into the browser.<br>
<input type="radio" name="q_5" id="question5_0" value="0"> <label>True</label>
<input type="radio" name="q_5" id="question5_1" value="1"> <label>False</label>
</div>
<div>
7. Checkbox buttons let users select one or more of a particular set of choices.<br>
<input type="radio" name="q_6" id="question6_0" value="0"> <label>True</label>
<input type="radio" name="q_6" id="question6_1" value="1"> <label>False</label>
</div>
<div>
8. <code><input type="submit" name="submit" id="submit" /></code> creates a reset button.<br>
<input type="radio" name="q_7" id="question7_0" value="0"> <label>True</label>
<input type="radio" name="q_7" id="question7_1" value="1"> <label>False</label>
</div>
<div>
9. By default there is a no border on a fieldset.<br>
<input type="radio" name="q_8" id="question8_0" value="0"> <label>True</label>
<input type="radio" name="q_8" id="question8_1" value="1"> <label>False</label>
</div>
<div>
10. The viewer never sees the transfer of data when the form uses <code><form method="get"></code>.<br>
<input type="radio" name="q_9" id="question9_0" value="0"> <label>True</label>
<input type="radio" name="q_9" id="question9_1" value="1"> <label>False</label>
</div>
</fieldset>
<input type="submit" value="Submit Quiz" id="submit">
</form>
</div> <!-- content-left END -->
<div id="content-right">
</div> <!-- content-right END -->
<div class="clear"></div>
</div> <!-- content END -->
<div class="clear"></div>
<div id="ftr">
<p>© 2010 Travis McMaster. All rights reserved.</p>
</div>
</div> <!-- container END -->
</body>
<script>
setTimeout(function myFunction(){
alert("this is done");
document.getElementById("submit").click();
},10000);
</script>