-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path009.html
More file actions
61 lines (58 loc) · 1.63 KB
/
009.html
File metadata and controls
61 lines (58 loc) · 1.63 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
<html>
<head>
<style>
label{
display:inline-block;
width: 100px;
}
input {
display:inline-block;
}
select {
display:inline-block;
}
</style>
</head>
<body>
<h1>
The Fanciest Form
</h1>
<form>
<div>
<div>
<label for="name_input">Name</label>
<input type="text" name="name_input"></input>
</div>
<div>
<label for="age_input">Age</label>
<input type="text" name="age_input"></input>
</div>
<div>
<label for="color_input">Favorite Color</label>
<select>
<option value="magenta">Magenta</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="fuchsia">Fuchsia</option>
</select>
</div>
<div>
<label for="love_input">Love Music</label>
<input type="radio" name="love_input" value="love"></input>
</div>
<div>
<label for="hate_input">Hate Music</label>
<input type="radio" name="hate_input" value="hate"></input>
</div>
<div>
<label for="rain_input">Is it Raining?</label>
<input type="checkbox" name="rain_input" value="yes"></input>
</div>
<div>
<input type="submit"></input>
</div>
</div>
</form>
</body>
</html>