This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
/
form.html
106 lines (97 loc) · 3.46 KB
/
form.html
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
98
99
100
101
102
103
104
105
106
<h1>Example Form</h1>
<form action="/foobar" method="post" id="example_form">
<div class="element-wrapper">
<label for="first_name">First Name: </label>
<input type="text" name="first_name" id="first_name" size="30" />
</div>
<div class="element-wrapper">
<label for="last_name">Last Name: </label>
<input type="text" name="last_name" id="last_name" size="30" value="Smith" />
</div>
<div class="element-wrapper">
<label for="purpose_here">Purpose Here: </label>
<input type="text" name="purpose_here" id="purpose_here" size="30" value="Testing!" readonly="readonly" />
</div>
<div class="element-wrapper">
<div><label for="bio">Biography: </label></div>
<textarea name="bio" id="bio" cols="60" rows="6">Please write a short biography.</textarea>
</div>
<div class="element-wrapper">
<label>Gender: </label>
<label class="choice" for="male">
<input type="radio" name="gender" value="male" id="male" checked="checked" />
Male
</label>
<label class="choice" for="female">
<input type="radio" name="gender" value="female" id="female" />
Female
</label>
</div>
<div class="element-wrapper">
<div>
<label>Programming Languages You Know: </label>
</div>
<label class="choice" for="clojure">
<input type="checkbox" name="clojure" />
Clojure
</label><br/>
<label class="choice" for="common_lisp">
<input type="checkbox" name="common_lisp" />
Common Lisp
</label><br/>
<label class="choice" for="java">
<input type="checkbox" name="java" />
Java
</label><br/>
<label class="choice" for="ruby">
<input type="checkbox" name="ruby" />
Ruby
</label><br/>
<label class="choice" for="python">
<input type="checkbox" name="python" />
Python
</label>
</div>
<div class="element-wrapper">
<label for="countries">Countries: </label>
<select name="countries" id="countries">
<option value="france">France</option>
<option value="deutschland">Germany</option>
<option value="ayiti">Haiti</option>
<option value="bharat" selected="selected">India</option>
</select>
</div>
<div class="element-wrapper">
<label for="dinner">Dinner: </label>
<select name="dinner" id="dinner">
<optgroup id="opt_food" label="food">
<option value="cow">Steak</option>
<option value="hen">Chicken</option>
</optgroup>
<optgroup id="opt_drink" label="drinks">
<option value="syrupy">Soda</option>
<option value="fruity">Juice</option>
<option value="wet">Water</option>
</optgroup>
</select>
</div>
<div class="element-wrapper">
<div>
<label for="site_types">Types of Websites: </label>
</div>
<select name="site_types" id="site_types" multiple="multiple">
<option value="blog">Blog</option>
<option value="social_media">Social Media</option>
<option value="search_engine">Search Engine</option>
<option value="code">Code Hosting</option>
</select>
</div>
<div class="element-wrapper">
<button class="button-button">
<strong>Button Button</strong>
</button>
<input type="button" class="input-button" id="input-input-button" value="Input Button Button" />
<input type="submit" class="input-button" id="input-submit-button" value="Input Submit Button" />
<input type="reset" class="input-button" id="input-reset-button" value="Input Reset Button" />
</div>
</form>