-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform_input.html
More file actions
41 lines (37 loc) · 1.28 KB
/
form_input.html
File metadata and controls
41 lines (37 loc) · 1.28 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title>User Input Form</title>
</head>
<body>
<h2>User Input Form</h2>
<form method="get" action="echo">
<fieldset>
<legend>Personal Particular</legend>
Name: <input type="text" name="username" /><br /><br />
Password: <input type="password" name="password" /><br /><br />
Gender: <input type="radio" name="gender" value="m" checked />Male
<input type="radio" name="gender" value="f" />Female<br /><br />
Age: <select name = "age">
<option value="1">< 1 year old</option>
<option value="99">1 to 99 years old</option>
<option value="100">> 99 years old</option>
</select>
</fieldset>
<fieldset>
<legend>Languages</legend>
<input type="checkbox" name="language" value="java" checked />Java
<input type="checkbox" name="language" value="c" />C/C++
<input type="checkbox" name="language" value="cs" />C#
</fieldset>
<fieldset>
<legend>Instruction</legend>
<textarea rows="5" cols="30" name="instruction">Enter your instruction here...</textarea>
</fieldset>
<input type="hidden" name="secret" value="888" />
<input type="submit" value="SEND" />
<input type="reset" value="CLEAR" />
</form>
</body>
</html>