-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path010.html
More file actions
86 lines (82 loc) · 2.36 KB
/
010.html
File metadata and controls
86 lines (82 loc) · 2.36 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
<html>
<head>
<style>
div#leftbox {
width:300px;
padding:5px;
height:200px;
background-color:#cccccc;
}
div#rightbox {
width:300px;
padding:5px;
height:175px;
background-color:#cccccc;
position: absolute;
margin-left:325px;
}
label {
display:inline-block;
width: 100px;
}
input {
display:inline-block;
}
select {
display:inline-block;
}
</style>
</head>
<!-- The interface shows here below -->
<body>
<h1> Columns!</h1>
<div id="rightbox">
<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>
</div>
<div id="leftbox">
<h2>Here is a list of things.</h2>
<ul>
<li>Bananas</li>
<li>Rabbit holes</li>
<li>John Quincy Adams</li>
<li>Slytherins</li>
</ul>
</div>
</body>
</html>