/
vqgch2-form.html
43 lines (38 loc) · 1.31 KB
/
vqgch2-form.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
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Simple HTML Form</title>
<style type="text/css" title="text/css" media="all">
label {
font-weight: bold;
color: #300ACC;
}
#wrapper {
width: 600px;
margin: auto;
}
</style>
</head>
<body>
<!-- Script 2.1 - form.html -->
<div id="wrapper">
<form action="vgqch2-handle_form.php" method="post">
<fieldset><legend>Enter your information in the form below:</legend>
<p><label>Name: <input type="text" name="name" size="20" maxlength="40" /></label></p>
<p><label>Email Address: <input type="text" name="email" size="40" maxlength="60" /></label></p>
<p><label for="gender">Gender: </label>
<input type="radio" name="gender" value="M" /> Male <input type="radio" name="gender" value="F" /> Female</p>
<p><label>Age:
<select name="age">
<option value="0-29">Under 30</option>
<option value="30-60">Between 30 and 60</option>
<option value="60+">Over 60</option>
</select></label>
</p>
<p><label>Comments: <textarea name="comments" rows="3" cols="40"></textarea></label></p>
</fieldset>
<p align="center"><input type="submit" name="submit" value="Submit My Information" /></p>
</form>
</div>
</body>
</html>