-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForms.htm
130 lines (130 loc) · 3.71 KB
/
Forms.htm
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
<!DOCTYPE html>
<html>
<head>
<title>Forms</title>
<meta charset="UTF-8">
<style>
fieldset
{
color:rgb(100,50,63);
background-color:mediumseagreen;
border:2px solid blue;
padding:30px;
}
select
{
color:dodgerblue;
}
</style>
</head>
<body style="background-color:pink;">
<form action="C:\xampp\htdocs\PHP\Accept.php" target="_blank" method="POST" autocomplete="on">
<fieldset>
<legend style="color:yellow"><h2>Personal Details:-</h2></legend>
<input list="honorfics" name="titles" placeholder="Honorfics">
<datalist id="honorfics">
<option value="Mr." selected>
<option value="Miss">
<option value="Lord">
<option value="Sir">
<option value="Dr">
<option value="DR">
<option value="Madam">
<option value="Ms">
<option value="Lady">
<option value="Others">
</datalist><br>
<br>
<br>
First Name:<br>
<input type="text" name="name" required><br>
Middle Name:<br>
<input type="text" name="name"><br>
Last Name:<br>
<input type="text" name="name" required><br>
Age:<br>
<input type="text" name="age" required><br>
Select an image:<br>
<input type="file" name="img" required>
<input type="submit" name="upload" value="Upload" multiple>
<br>
<br>
Sex:<br>
<input type="radio" name="gender" value="male" unchecked required><b>Male</b><br>
<input type="radio" name="gender" value="female" unchecked required><b>Female</b><br>
<input type="radio" name="gender" value="other" unchecked required><b>Other</b><br>
<br>
Nationality:<br>
<select name="nationality" size="2">
<option value="american">American</option>
<option value="europian">Europian</option>
<option value="indian" selected>Indian</option>
<option value="others">Others</option>
</select>
<br>
<br>
Birthday:<br>
<input type="datetime-local" name="bday" min="1960-12-31" max="2018-03-01" required>
<br>
<br>
State:<br>
<input list="states" name="states">
<datalist id="states">
<option value="Bihar">
<option value="Delhi">
<option value="Hyderabad">
<option value="Karnataka">
<option value="Mumbai">
<option value="West Bengal">
<option value="Others">
</datalist>
<br>
Pin code:<br>
<input type="text" name="pin_code" pattern="[0-9]{6}" title="Seven digit pin code." required>
<br>
<br>
</fieldset>
<br>
<br>
<fieldset>
<legend style="color:yellow"><h2>Other Informations:-</h2></legend>
Email:<br>
<input type="email" name="email">
<br>
<br>
Height:<br>
<input type="number" name="height" min="2" max="7" value="5.5">
<br>
<br>
Riding Preferences:<br>
<input type="checkbox" name="vehicle" value="bike" unchecked><b>Bikes</b><br>
<input type="checkbox" name="vehicle" value="car" unchecked><b>Cars</b><br>
<input type="checkbox" name="vehicle" value="cycle" unchecked><b>Cycles</b><br>
<input type="checkbox" name="vehicle" value="cycle" unchecked><b>Other</b><br>
<br>
<br>
Favorite Color:<br>
<input type="color" name="favcol" value="#ddaa99"><br>
<br>
<br>
<legend><i>Write About Yourself...</i></legend>
<textarea name="message" style="width:500px;height:100px;">
Type here...
</textarea>
<br>
<br>
Enter your homepage:<br>
<input type="url" name="homepage">
<br>
<br>
<button type="button" onclick="alert('Rohit is happy to have you..:)')">Click Here</button>
<br>
<br>
<input type="submit" name="Submit" value="Confirm">
<br>
<br>
<input type="reset">
</fieldset>
</form>
</body>
</html>