-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
132 lines (104 loc) · 3.51 KB
/
form.html
File metadata and controls
132 lines (104 loc) · 3.51 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
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
<!-- NAME: Apoorva.Lingashettar
CLASS: CS553-A
ASSIGNMENT:Assignment 4 -->
<html>
<head>
<title>
Form
</title>
<style> body
{
background-color: beige;
}
</style>
</head>
<body>
<form action="http://webcsd.sacredheart.edu/randallj/display_form_data.asp." target="_blank" method="post" id="ApoorvaForm">
<table align="center" cellpadding="5px" width="40%" >
<tr><td colspan="2">
<b><i>Please fill the following form, to help us find your home quikly..!</i></b>
</td></tr>
<tr><td colspan="2">
<hr color="coral">
</td></tr>
<tr ><td colspan="2">
Name:
<input type="text" name="name"></td></tr>
<tr ><td colspan="2">
Last Name:
<input type="text" name="lastname"></td></tr>
<tr ><td colspan="2">
Where would you like to buy a house?
Zip Code:
<input type="text" name="area code">
</td></tr>
<tr><td colspan="2">
<hr color="coral">
</td></tr>
<tr><td colspan="2">
How many bed room would you like to have in your home ?
</td></tr>
<tr><td>
<input type="radio" name="bed" value="1">1 Bedroom</br>
<input type="radio" name="bed" value="2">2 Bedrooms</br>
<input type="radio" name="bed" value="3">3 Bedrooms</br>
</td>
<td>
<input type="radio" name="bed" value="4">4 Bedrooms</br>
<input type="radio" name="bed" value="5">5 Bedrooms</br>
<input type="radio" name="bed" value="6">6 Bedrooms</br>
</td>
</tr>
<tr><td colspan="2">
<hr color="coral">
</td></tr>
<tr><td colspan="2">
What type of home would you prefer to have from the following ?
</td></tr>
<tr>
<td colspan="2">
<select>
<option value="">--Type of house--</option>
<option value="Ranch">Ranch</option>
<option value="Raised Ranch">Raised Ranch</option>
<option value="Colonial">Colonial</option>
<option value="Traditional">Traditional</option>
<option value="Contemporary">Contemporary</option>
</select>
</td>
</tr>
<tr><td colspan="2">
<hr color="coral">
</td></tr>
<tr >
<td colspan="2">
What else would you prefer, in your home ?
</td></tr>
<tr><td>
<input type="checkbox" name="Garage" value="Garage">Garage</br>
<input type="checkbox" name="Fireplace" value="Fire Place">Fire Place</br>
<input type="checkbox" name="Basement" value="Basement">Basement</br>
<input type="checkbox" name="Centralair" value="Central Air">Central air conditioning</br>
</td>
<td>
<input type="checkbox" name="Attic" value="Attic">Attic</br>
<input type="checkbox" name="Pool" value="Swimming Pool">Swimming pool</br>
<input type="checkbox" name="Dog" value="Dog Kennel">Dog Kennel</br>
<input type="checkbox" name="Store" value="Store">Exterior Storage Place</br>
</td>
</tr>
<tr><td colspan="2">
<hr color="coral">
</td></tr>
<tr><td align="center">
<button type="submit" form="ApoorvaForm" value="Submit">Submit</button></td>
<td align="center">
<button type="reset" value="Reset">Reset</button>
</td></tr>
<tr><td colspan="2">
<hr color="coral">
</td></tr>
</table>
</form>
</body>
</html>