-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformDemo.html
More file actions
97 lines (87 loc) · 2.51 KB
/
Copy pathformDemo.html
File metadata and controls
97 lines (87 loc) · 2.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
<!DOCTYPE HTML>
<html lang = "en">
<head>
<title>formDemo.html</title>
<meta charset = "UTF-8" />
</head>
<body>
<h1>Form Demo</h1>
<form>
<fieldset>
<legend>Text input</legend>
<p>
<label>Text box</label>
<input type = "text"
id = "myText"
value = "text here" />
</p>
<p>
<label>Password</label>
<input type = "password"
id = "myPwd"
value = "secret" />
</p>
<p>
<label>Text Area</label>
<textarea id = "myTextArea"
rows = "3"
cols = "80">Your text here</textarea>
</p>
</fieldset>
<fieldset>
<legend>Selecting elements</legend>
<p>
<label>Select List</label>
<select id = "myList">
<option value = "1">one</option>
<option value = "2">two</option>
<option value = "3">three</option>
<option value = "4">four</option>
</select>
</p>
<p>
<label>Check boxes</label>
<input type = "checkbox"
id = "chkEggs"
value = "greenEggs" />
<label for = "chkEggs">Green Eggs</label>
<input type = "checkbox"
id = "chkHam"
value = "ham" />
<label for = "chkHam">Ham</label>
</p>
<p>
<label>Radio buttons</label>
<input type = "radio"
name = "radSize"
id = "sizeSmall"
value = "small"
checked = "checked" />
<label for = "sizeSmall">small</label>
<input type = "radio"
name = "radSize"
id = "sizeMed"
value = "medium" />
<label for = "sizeMed">medium</label>
<input type = "radio"
name = "radSize"
id = "sizeLarge"
value = "large" />
<label for = "sizeLarge">large</label>
</p>
</fieldset>
<fieldset>
<legend>Buttons</legend>
<p>
<button type = "button">
standard button
</button>
<input type = "button"
value = "input button" />
<input type = "reset" />
<input type = "submit" />
</p>
</fieldset>
</form>
</body>
</html>