Skip to content

Commit 447567b

Browse files
author
mrmrs
committed
Adding form elements.
1 parent 9b12858 commit 447567b

File tree

1 file changed

+63
-2
lines changed

1 file changed

+63
-2
lines changed

index.html

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,67 @@ <h6 class="h6">Sixth header h6</h6>
128128
praesentium voluptatum deleniti atque corrupti quos.
129129
</p>
130130
</section>
131+
<section>
132+
<form>
133+
<fieldset>
134+
<legend>Fieldset Title</legend>
135+
136+
<div>
137+
<label>Text Input Label</label>
138+
<input type="text"/>
139+
<p>Helper text if necessary.</p>
140+
</div>
141+
142+
<div>
143+
<label>Password</label>
144+
<input type="password" />
145+
<p>Error messages when appropriate.</p>
146+
</div>
147+
148+
<div>
149+
<label for="email">Email</label>
150+
<input type="email" id="email" class="form-text" />
151+
</div>
152+
153+
<div>
154+
<label for="gender">Dropdown</label>
155+
<select>
156+
<option>Option 1</option>
157+
<option>Option 2</option>
158+
<option>Option 3</option>
159+
</select>
160+
</div>
161+
162+
<div>
163+
<label>Radio Buttons</label>
164+
<ul>
165+
<li><label><input type="radio" /> Label 1</label></li>
166+
<li><label><input type="radio" /> Label 2</label></li>
167+
<li><label><input type="radio" /> Label 3</label></li>
168+
</ul>
169+
</div>
170+
171+
<div>
172+
<label for="url">URL Input</label>
173+
<input type="url" placeholder="http://mrmrs.cc" />
174+
</div>
175+
176+
<div>
177+
<label>Text area</label>
178+
<textarea></textarea>
179+
</div>
180+
181+
<div>
182+
<label><input type="checkbox" /> This is a checkbox.</label>
183+
</div>
184+
185+
<div>
186+
<input type="submit" value="Submit" />
187+
</div>
188+
189+
</fieldset>
190+
</form>
191+
</section>
131192
<footer>
132-
<p>Copyright 2013 Some company name</p>
133-
</footer>
193+
<p>Copyright 2013 Some company name</p>
194+
</footer>

0 commit comments

Comments
 (0)