-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.html
More file actions
227 lines (225 loc) · 8.38 KB
/
sample.html
File metadata and controls
227 lines (225 loc) · 8.38 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html id="ordered-forms-sample" dir="ltr" lang="en-US">
<head>
<meta charset="utf-8" >
<title>ordered-forms</title>
<meta name="description" content="Sample HTML showing the various HTML form elements">
<meta name="author" content="Wellfire Interactive">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
<link rel="stylesheet" type="text/css" href="css/ordered-forms.css">
</head>
<body>
<form class="orderedForm" action="" method="post">
<p class="message">General form error or validation message</p>
<fieldset>
<legend>Fieldset One</legend>
<ol start="1">
<li>
<label for="text">Text Element:</label>
<input id="text" type="text" value="Value to submit" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Text Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="password">
<label for="password">Password Element:</label>
<input id="password" type="password" value="Value to submit" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Password Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li>
<label for="textarea">Textarea:</label>
<textarea id="textarea">Values entered to submit. Values entered to submit. Values entered to submit. Values entered to submit. Values entered to submit.</textarea>
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Textarea:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="file">
<label for="file">File Element:</label>
<input id="fiel" type="file" value="Value to submit" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>File Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="url">
<label for="url">URL Element:</label>
<input id="url" type="url" value="Value to submit" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>URL Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="email">
<label for="email">Email Element:</label>
<input id="email" type="email" value="Value to submit" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Email Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="tel">
<label for="tel">Telephone Element:</label>
<input id="tel" type="tel" value="Value to submit" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Telephone Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
</ol>
</fieldset>
<fieldset>
<legend>Fieldset Two</legend>
<ol start="8">
<li class="number">
<label for="number">Number Element:</label>
<input id="number" type="number" min="0" max="10" step="2" value="6" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Number Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="date">
<label for="date">Date Element:</label>
<input id="date" type="date" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>Date Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="date">
<label for="datetime">DateTime Element:</label>
<input id="datetime" type="datetime" />
<span>Required</span>
<p>Optional Instructional or Helper Text</p>
<div class="alert">
<dl>
<dt>DateTime Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="search">
<label for="query">Query Element:</label>
<input id="query" type="search" value="Value to submit" />
<p>Optional Instructional or Helper Text</p>
</li>
<li class="bit">
<p>Checkbox Instructional Text.</p>
<span>Required</span>
<label>Value 1: <input id="" type="checkbox" value="Value to submit" /></label>
<label>Value 2: <input id="" type="checkbox" value="Value to submit" /></label>
<div class="alert">
<dl>
<dt>Bit Elements:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="bit">
<p>Multiple Checkbox Instructional Text.</p>
<span>Required</span>
<label>Value 1: <input id="" type="checkbox" value="Value to submit" /></label>
<label>Value 2: <input id="" type="checkbox" value="Value to submit" /></label>
<label>Value 3: <input id="" type="checkbox" value="Value to submit" /></label>
<label>Value 4: <input id="" type="checkbox" value="Value to submit" /></label>
<div class="alert">
<dl>
<dt>Bit Elements:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="bit">
<p>Radio Instructional Text.</p>
<span>Required</span>
<label>Value 1: <input id="" type="radio" value="Value to submit" /></label>
<label>Value 2: <input id="" type="radio" value="Value to submit" /></label>
<div class="alert">
<dl>
<dt>Bit Elements:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="bit">
<p>Multiple Radio Instructional Text.</p>
<span>Required</span>
<label>Value 1: <input id="" type="radio" value="Value to submit" /></label>
<label>Value 2: <input id="" type="radio" value="Value to submit" /></label>
<label>Value 3: <input id="" type="radio" value="Value to submit" /></label>
<label>Value 4: <input id="" type="radio" value="Value to submit" /></label>
<div class="alert">
<dl>
<dt>Bit Elements:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
<li class="select">
<label for="select">Select Element:</label>
<p>Select Instructional Text.</p>
<span>Required</span>
<select id="select">
<option value="">Value Name</option>
<option value="">Value Name</option>
<option value="">Value Name</option>
<option value="">Value Name</option>
<option value="">Value Name</option>
</select>
<div class="alert">
<dl>
<dt>Select Element:</dt>
<dd>Text value. Describe the error and why</dd>
</dl>
</div>
</li>
</ol>
</fieldset>
<fieldset class="action">
<input type="hidden" value=""/>
<button class="action-box" type="submit"><span>Submit</span></button>
</fieldset>
</form>
</body>
</html>