-
Notifications
You must be signed in to change notification settings - Fork 18
/
kitchen-sink.html
373 lines (372 loc) · 16.6 KB
/
kitchen-sink.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
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML Elements Page</title>
<link rel="stylesheet" href="dist/hiq.css">
</head>
<body>
<div class="container">
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>In lacinia posuere est pulvinar consectetur. Donec commodo porta lorem, non aliquet ligula finibus quis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent feugiat tortor in quam vehicula luctus. Nunc sit amet magna ut purus congue efficitur. Pellentesque eget mauris sit amet libero molestie varius nec facilisis dui. Etiam bibendum aliquet justo. Vestibulum in nisl in ex consequat faucibus. Praesent egestas nisi quis metus tempor ultrices. Nam in congue ex, dignissim feugiat dolor. Nullam malesuada, orci et fringilla faucibus, ipsum magna euismod arcu, non sagittis velit tellus vel nibh. Proin id orci sapien. Donec augue sem, pharetra eu pretium eu, ullamcorper eu dolor. Vestibulum vestibulum porta lorem, eget pellentesque turpis ullamcorper vitae.</p>
<p>This is an <span>inline element</span>.</p>
<p>This is an <q>inline quotation</q>.</p>
<blockquote>
<p>A block quotation is a quotation that is offset from the main text as a paragraph, or block of text.</p>
<cite>Quote citation</cite>
</blockquote>
<p><a href="#">This is a text link with a <strong>strong element</strong></a></p>
<p><strong>Strong</strong> is used to indicate strong importance.</p>
<p>This text has added <em>emphasis</em>.</p>
<p>The <b>b element</b> is stylistically different text from normal text, without any special importance.
</p>
<p>The <i>i element</i> is text that is offset from the normal text.</p>
<p>The <u>u element</u> is text with an unarticulated, though explicitly rendered, non-textual annotation.
</p>
<p>
<del>This text is deleted.</del>
</p>
<p>
<ins>This text is inserted.</ins>
</p>
<p><s>This text has a strikethrough</s>.</p>
<p>Superscript<sup>®</sup>.</p>
<p>Subscript for things like H<sub>2</sub>O.</p>
<p>
<small>This small text is small for for fine print, etc.</small>
</p>
<p>Abbreviation: <abbr title="HyperText Markup Language">HTML</abbr></p>
<p><q cite="https://developer.mozilla.org/en-US/docs/HTML/Element/q">This text is a short inline
quotation.</q></p>
<p><cite>This is a citation.</cite></p>
<p>The <dfn>dfn element</dfn> indicates a definition.</p>
<p>The
<mark>mark element</mark>
indicates a highlight.
</p>
<p>The <var>variable element</var>, such as <var>x</var> = <var>y</var>.</p>
<address>
2518 W Armitage Ave<br/>
Chicago IL 60647
</address>
<p>The time element:
<time datetime="2013-04-06T12:32+00:00">2 weeks ago</time>
</p>
<dl>
<dt>Definition List Title</dt>
<dd>This is a definition list division.</dd>
</dl>
<ol>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
<ul class="is-unstyled">
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
<li>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</li>
</ul>
<details>
<summary>Summary (click for details)</summary>
<p>Details</p>
</details>
<hr>
<table>
<thead>
<tr>
<th scope="col">Column 1</th>
<th scope="col">Column 2</th>
<th scope="col">Column 3</th>
<th scope="col">Column 4</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1 Cell 1</td>
<td>Row 1 Cell 2</td>
<td>Row 1 Cell 3</td>
<td>Row 1 Cell 4</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th scope="col">Column 1</th>
<th scope="col">Column 2</th>
<th scope="col">Column 3</th>
<th scope="col">Column 4</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Row 1</th>
<td>Row 1 Cell 1</td>
<td>Row 1 Cell 2</td>
<td>Row 1 Cell 3</td>
</tr>
<tr>
<th scope="row">Row 2</th>
<td>Row 2 Cell 1</td>
<td>Row 2 Cell 2</td>
<td>Row 2 Cell 3</td>
</tr>
<tr>
<th scope="row">Row 3</th>
<td>Row 3 Cell 1</td>
<td>Row 3 Cell 2</td>
<td>Row 3 Cell 3</td>
</tr>
</tbody>
<tfoot>
<tr>
<th scope="col">Column 1</th>
<th scope="col">Column 2</th>
<th scope="col">Column 3</th>
<th scope="col">Column 4</th>
</tr>
</tfoot>
</table>
<p>To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd></p>
<p><code><div>code</div></code></p>
<p><a href="#">This is a link with <code>code</code></a></p>
<p><samp>This is sample output from a computer program.</samp></p>
<pre>P R E F O R M A T T E D T E X T
! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~ </pre>
<pre><code>ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);</code></pre>
<figure>
<img src="docs/assets/placeholder.svg" alt="Image alt text">
</figure>
<figure>
<img src="docs/assets/placeholder.svg" alt="Image alt text">
<figcaption>Here is a caption for this image.</figcaption>
</figure>
<p>
<audio controls="">audio</audio>
</p>
<figure>
<video controls="" poster="docs/assets/placeholder.svg">video</video>
</figure>
<p>
<progress value="50" max="100">progress</progress>
</p>
<p>
<progress>progress</progress>
</p>
<p style="display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 2rem;">
<meter min="0" max="100" low="25" high="75" optimum="100" value="10"></meter>
<meter min="0" max="100" low="25" high="75" optimum="100" value="50"></meter>
<meter min="0" max="100" low="25" high="75" optimum="100" value="80"></meter>
</p>
<p>
<button>Button</button>
<button type="button">Button</button>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
<a role="button">Link as button</a>
<button type="button" disabled>Disabled</button>
</p>
<form>
<fieldset>
<legend>Input fields</legend>
</fieldset>
<p>
<label for="text">Text Input</label>
<input type="text" id="text" name="text" placeholder="Enter text">
</p>
<p>
<label for="invalid">Invalid Input</label>
<input type="text" id="invalid" name="text" placeholder="Enter text" required>
</p>
<p>
<label for="valid">Valid Input</label>
<input type="text" id="valid" name="text" placeholder="Enter text" value="Test" required>
</p>
<p>
<label for="disabled">Disabled Input</label>
<input type="text" id="disabled" name="disabled" placeholder="Enter text" disabled>
</p>
<p>
<label for="text">Read-only Input</label>
<input type="text" id="read-only" name="readonly" placeholder="Enter text" readonly>
</p>
<p>
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="••••••••">
</p>
<p>
<label for="url">Web Address</label>
<input type="url" id="url" name="url" placeholder="http://yoursite.com">
</p>
<p>
<label for="email">Email Address</label>
<input type="email" id="email" name="email" placeholder="name@email.com">
</p>
<p>
<label for="tel">Phone Number</label>
<input type="tel" id="tel" name="tel" placeholder="(999) 999-9999">
</p>
<p>
<label for="search">Search</label>
<input type="search" id="search" name="search" placeholder="Enter search term">
</p>
<p>
<label for="number">Number Input</label>
<input type="number" id="number" name="number" placeholder="1234">
</p>
<p>
<label for="date">Date Input</label>
<input type="date" id="date" name="date" placeholder="mm/dd/yyyy">
</p>
<p>
<label for="Time">Time Input</label>
<input type="time" id="time" name="time" placeholder="--:-- --">
</p>
<p>
<label for="month">Month Input</label>
<input type="month" id="month" name="month" placeholder="--------- ----">
</p>
<p>
<label for="week">Week Input</label>
<input type="week" id="week" name="week" placeholder="Week --, ----">
</p>
<p>
<label for="datetime">Datetime Local Input</label>
<input type="datetime-local" id="datetime" name="datetime" placeholder="mm/dd/yyyy, --:-- --">
</p>
<p>
<label for="textarea">Text area</label>
<textarea id="textarea" name="textarea" rows="3" placeholder="Text area"></textarea>
</p>
<p>
<label for="select">Select</label>
<select id="select" name="select">
<optgroup label="Option Group">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
</optgroup>
</select>
</p>
<p>
<label for="multi-select">Multi-select</label>
<select multiple id="multi-select">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
</select>
</p>
<p>
<label for="datalist">Datalist</label>
<input list="options" id="datalist" name="datalist" placeholder="Enter option"/>
<datalist id="options">
<option value="Option 1">
<option value="Option 2">
<option value="Option 3">
</datalist>
</p>
<fieldset>
<legend>Fieldset legend</legend>
<div class="checkbox">
<input type="checkbox" name="day" id="check-option1" value="option1"/>
<label for="check-option1">Option 1</label>
</div>
<div class="checkbox">
<input type="checkbox" name="day" id="check-option2" value="option2"/>
<label for="check-option2">Option 2</label>
</div>
<div class="checkbox">
<input type="checkbox" name="day" id="check-option3" value="option3" class="indeterminate"/>
<label for="check-option3">Option 3</label>
</div>
<div class="checkbox">
<input type="checkbox" name="day" id="check-option4" value="option4" disabled/>
<label for="check-option4">Option 4</label>
</div>
</fieldset>
<fieldset>
<legend>Fieldset legend</legend>
<div class="radio">
<input type="radio" name="day" id="radio-option1" value="option1"/>
<label for="radio-option1">Option 1</label>
</div>
<div class="radio">
<input type="radio" name="day" id="radio-option2" value="option2"/>
<label for="radio-option2">Option 2</label>
</div>
<div class="radio">
<input type="radio" name="day" id="radio-option3" value="option3" disabled/>
<label for="radio-option3">Option 3</label>
</div>
</fieldset>
<p>
<label for="range">Range</label>
<input type="range" id="range" name="range" min="100" max="500" step="10">
</p>
<p>
<label for="range-disabled">Disabled Range</label>
<input type="range" id="range-disabled" name="range" min="100" max="500" step="10" disabled>
</p>
<p>
<label for="file">Upload File</label>
<input type="file" id="file" name="file">
</p>
<p>
<label for="color">Color</label>
<input type="color" id="color" name="color">
</p>
<p>
<output name=output for="val1 val2">0</output>
</p>
<p>
<input type="submit" value="Submit">
<input type="button" value="Button">
<input type="reset" value="Reset">
<input type="submit" value="Disabled" disabled>
</p>
</form>
<div>
<dialog id="dialog">
<form method="dialog">
<p>This is a dialog</p>
<button value="cancel">Close dialog</button>
</form>
</dialog>
<button id="showDialog">Show dialog</button>
</div>
</div>
<script>
document.querySelector('.indeterminate').indeterminate = true
document.getElementById('showDialog').addEventListener('click', () => {
document.getElementById('dialog').showModal()
})
</script>
</body>
</html>