forked from deepakuniyaliit/webPractice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
60 lines (42 loc) · 1.32 KB
/
form.html
File metadata and controls
60 lines (42 loc) · 1.32 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
<html>
<body>
<div align="left"; style="float:left;width:25%;background:pink">
<h1>Personal Details </h1>
<form action="./div.html" method="get">
Name: <br>
<input type=text \><br><br>
passwd:<br>
<input type=password \><br><br>
Comments:<br>
<textarea rows="3" cols="30"></textarea><br><br>
Married: <input type="checkbox"></input><br><br>
Gender: <input type="radio">male</input>
<input type="radio">female</input><br><br>
state:<br>
<select name="state" multiple>
<option value="ts">Telangana</option>
<option value="gj">Gujarat</option>
<option value="kr">Kerala</option>
<option value="tn">Tamil Nadu</option>
</select><br><br>
Medical record: <br>
<p><input type="file" name="upload" accept=".html" /></p>
<p><input type="submit" value="Submit" /></p>
<p><button type="reset">Reset</button></p>
<p><input type="image" src="image.jpg" width=100 height=100 alt="image submit button"/><p/>
</div>
</form>
<!-- the <optgroup> element to group options together -->
<select name="languages" multiple="yes" size="10">
<optgroup label="High-level">
<option value="c">C/C++</option>
<option value="java">Java</option>
</optgroup>
<optgroup label="Scripting">
<option value="bash">Bash</option>
<option value="perl">Perl</option>
<option value="python">Python</option>
</optgroup>
</select>
</body>
</html>