forked from markmbadham/pythoncourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
61 lines (61 loc) · 1.71 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<title>form</title>
</head>
<body>
<form>
<table>
<tr>
<td>
<label for="name">Name</label>
</td>
<td>
<input type="text" name="name" id="nameinput"
value="%(name)s" onfocus="this.value=''">
</td>
</tr>
<tr>
<td><label for="surname">Surname</label></td>
<td><input type="text" name="surname" value="%(surname)s"></td>
</tr>
<tr>
<td>Things I am Bringing</td>
<td>
<input type="checkbox" name="ownpc" value="Y" checked> Own PC<br>
<input type="checkbox" name="book" value="Y"> Book<br>
<input type="checkbox" name="pen" value="Y"> Pen<br>
</td>
</tr>
<tr>
<td>Sex</td>
<td>
<input type="radio" name="sex" value="male" checked>Male<br>
<input type="radio" name="sex" value="female">Female<br>
</td>
</tr>
<tr>
<td>Comment</td>
<td>
<textarea name="comment" rows="5" cols="20"></textarea>
</tr>
<tr>
<td>Country</td>
<td>
<select multiple name="country">
<option value="">Choose One</option>
<option value="ZA">South Africa</option>
<option value="BW">Botswana</option>
<option value="NA">Namibia</option>
<option value="ZW">Zimbabwe</option>
</select>
</tr>
<tr>
<td colspan="2" style="text-align:center">
<input type="submit" value="Send">
</td>
</tr>
</table>
</form>
</body>
</html>