-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
1219 lines (1123 loc) · 47.7 KB
/
index.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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name=viewport content="width=device-width, initial-scale=1">
<title>HTML Elements</title>
</head>
<body>
<div id="toolbar">
<label for="switch-css">Switch CSS</label>
<select id="switch-css">
<option value="">User Agent Style Sheet</option>
</select>
<a id="active-css-homepage" href="" rel="noopener" target="_blank">[homepage ⧉]</a>
<a id="active-css-href" href="" rel="noopener" target="_blank">[source ⧉]</a>
[View this project on <a href="https://github.com/kemar/html-elements">GitHub</a>]
</div>
<hr>
<nav>
<ul>
<li>
<a href="#section-sections">Sections</a>
<br>
<small>
<code>body</code>,
<code>article</code>,
<code>section</code>,
<code>nav</code>,
<code>aside</code>,
<code>h1</code>, <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>, <code>h6</code>,
<code>hgroup</code>,
<code>header</code>,
<code>footer</code>,
<code>address</code>
</small>
</li>
<li>
<a href="#section-grouping-content">Grouping content</a>
<br>
<small>
<code>p</code>,
<code>hr</code>,
<code>pre</code>,
<code>blockquote</code>,
<code>ol</code>,
<code>ul</code>,
<code>menu</code>,
<code>li</code>,
<code>dl</code>,
<code>dt</code>,
<code>dd</code>,
<code>figure</code>,
<code>figcaption</code>,
<code>main</code>,
<code>div</code>
</small>
</li>
<li>
<a href="#section-text-level-semantics">Text-level semantics</a>
<br>
<small>
<code>a</code>,
<code>em</code>,
<code>strong</code>,
<code>small</code>,
<code>s</code>,
<code>cite</code>,
<code>q</code>,
<code>dfn</code>,
<code>abbr</code>,
<code>ruby</code>,
<code>rt</code>,
<code>rp</code>,
<code>data</code>,
<code>time</code>,
<code>code</code>,
<code>var</code>,
<code>samp</code>,
<code>kbd</code>,
<code>sub</code>,
<code>sups</code>,
<code>i</code>,
<code>b</code>,
<code>u</code>,
<code>mark</code>,
<code>bdi</code>,
<code>bdo</code>,
<code>span</code>,
<code>br</code>,
<code>wbr</code>
</small>
</li>
<li>
<a href="#section-edits">Edits</a>
<br>
<small>
<code>ins</code>,
<code>del</code>
</small>
</li>
<li>
<a href="#section-embedded-content">Embedded content</a>
<br>
<small>
<code>picture</code>,
<code>source</code>,
<code>img</code>,
<code>iframe</code>,
<code>embed</code>,
<code>object</code>,
<code>param</code>,
<code>video</code>,
<code>audio</code>,
<code>track</code>,
<code>map</code>,
<code>area</code>
</small>
</li>
<li>
<a href="#section-tabular-data">Tabular data</a>
<br>
<small>
<code>table</code>,
<code>caption</code>,
<code>colgroup</code>,
<code>col</code>,
<code>tbody</code>,
<code>thead</code>,
<code>tfoot</code>,
<code>tr</code>,
<code>td</code>,
<code>th</code>
</small>
</li>
<li>
<a href="#section-forms">Forms</a>
<br>
<small>
<code>form</code>,
<code>label</code>,
<code>input</code>,
<code>button</code>,
<code>select</code>,
<code>datalist</code>,
<code>optgroup</code>,
<code>option</code>,
<code>textarea</code>,
<code>output</code>,
<code>progress</code>,
<code>meter</code>,
<code>fieldset</code>,
<code>legend</code>
</small>
</li>
<li>
<a href="#section-interactive-elements">Interactives</a>
<br>
<small>
<code>details</code>,
<code>summary</code>,
<code>dialog</code>
</small>
</li>
</ul>
</nav>
<main>
<section>
<h1 id="section-sections">Sections</h1>
<header>
<h2>The <code>header</code> element</h2>
<p>The <code>header</code> element represents a group of introductory or navigational aids.</p>
</header>
<article>
<header>
<h2>The <code>article</code> element</h2>
</header>
<p>The <code>article</code> element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.</p>
</article>
<section>
<h2>The <code>section</code> element</h2>
<p>The <code>section</code> element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content, typically with a heading.</p>
</section>
<nav>
<h2>The <code>nav</code> element</h2>
<p>The <code>nav</code> element represents a section of a page that links to other pages or to parts within the page: a section with navigation links</p>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</nav>
<h2>The <code>address</code> element</h2>
<address>
The <code>address</code> element represents the contact information for its nearest <code>article</code> or <code>body</code> element ancestor. For more details see <a href="https://html.spec.whatwg.org/multipage/sections.html#the-address-element">The <code>address</code> element</a>.
</address>
<aside>
<h2>The <code>aside</code> element</h2>
<p>The <code>aside</code> element represents a section of a page that consists of content that is tangentially related to the content around the <code>aside</code> element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.</p>
<p>The element can be used for typographical effects like pull quotes or sidebars, for advertising, for groups of <code>nav</code> elements, and for other content that is considered separate from the main content of the page.</p>
</aside>
<h1>The <code>h1</code>, <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>, and <code>h6</code> elements</h1>
<h2>These elements represent headings for their sections.</h2>
<h3>The semantics and meaning of these elements are defined in the section on headings and sections.</h3>
<h4>These elements have a rank given by the number in their name.</h4>
<h5>The <code>h1</code> element is said to have the highest rank.</h5>
<h6>The <code>h6</code> element has the lowest rank, and two elements with the same name have equal rank.</h6>
<hgroup>
<h1>The <code>hgroup</code> element</h1>
<h2>The <code>hgroup</code> element represents the heading of a section, which consists of all the <code>h1</code>–<code>h6</code> element children of the <code>hgroup</code> element.</h2>
<h3>The element is used to group a set of <code>h1</code>–<code>h6</code> elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines.</h3>
<h4>The rank of an <code>hgroup</code> element is the rank of the highest-ranked <code>h1</code>–<code>h6</code> element descendant of the <code>hgroup</code> element, if there are any such elements, or otherwise the same as for an <code>h1</code> element (the highest rank).</h4>
<h5>Other <code>h1</code>–<code>h6</code> elements of heading content in the <code>hgroup</code> element indicate subheadings or subtitles or (secondary) alternative titles.</h5>
<h6>The section on headings and sections defines how <code>hgroup</code> elements are assigned to individual sections.</h6>
</hgroup>
<footer>
<h2>The <code>footer</code> element</h2>
<p>The <code>footer</code> element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.</p>
</footer>
</section>
<section>
<h1 id="section-grouping-content">Grouping content</h1>
<!-- The p element -->
<p>The <code>p</code> element represents a paragraph.</p>
<p>While paragraphs are usually represented in visual media by blocks of text that are physically separated from adjacent blocks through blank lines, a style sheet or user agent would be equally justified in presenting paragraph breaks in a different manner, for instance using inline pilcrows.</p>
<!-- The hr element -->
<hr>
<!-- The pre element -->
<pre><code>function Panel(element, canClose, closeHandler) {
this.element = element;
this.canClose = canClose;
this.closeHandler = function () { if (closeHandler) closeHandler() };
}</code></pre>
<!-- The blockquote element -->
<blockquote>
<p>The <code>blockquote</code> element represents a section that is quoted from another source.</p>
</blockquote>
<!-- The ol element -->
<ol>
<li>Switzerland</li>
<li>United Kingdom</li>
<li>
United States
<ol>
<li>Alabama</li>
<li>Delaware</li>
<li>New York</li>
</ol>
</li>
<li>Norway</li>
</ol>
<!-- The ul element -->
<ul>
<li>Switzerland</li>
<li>United Kingdom</li>
<li>
United States
<ul>
<li>Alabama</li>
<li>Delaware</li>
<li>New York</li>
</ul>
</li>
<li>Norway</li>
</ul>
<!-- The menu element -->
<menu>
<li><button>Copy</button></li>
<li><button>Cut</button></li>
<li><button>Paste</button></li>
</menu>
<!-- The dl element -->
<dl>
<dt>If you have exactly five gold coins</dt>
<dd>You get five victory points</dd>
<dt>If you have one or more gold coins, and you have one or more silver coins</dt>
<dd>You get two victory points</dd>
<dt>If you have one or more silver coins</dt>
<dd>You get one victory point</dd>
<dt>Otherwise</dt>
<dd>You get no victory points</dd>
</dl>
<!-- The figure element -->
<figure>
<img src="assets/img/strawberry.png" alt="">
<figcaption>Strawberry</figcaption>
</figure>
<!-- The main element -->
<p>The main element must not appear as a descendant of the section element. It cannot appear here so it has been moved to wrap all the content.</p>
<!-- The div element -->
<div>
<p>The <code>div</code> element has no special meaning at all. It represents its children. It can be used with the <code>class</code>, <code>lang</code>, and <code>title</code> attributes to mark up semantics common to a group of consecutive elements. It can also be used in a <code>dl</code> element, wrapping groups of <code>dt</code> and <code>dd</code> elements.</p>
</div>
</section>
<section>
<h1 id="section-text-level-semantics">Text-level semantics</h1>
<table>
<thead>
<tr>
<th>Element</th>
<th>Purpose</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>a</code>
</td>
<td>
Hyperlinks
</td>
<td>
Visit my <a href="#">drinks</a> page
</td>
</tr>
<tr>
<td>
<code>em</code>
</td>
<td>
Stress emphasis
</td>
<td>
I must say I <em>adore</em> lemonade.
</td>
</tr>
<tr>
<td>
<code>strong</code>
</td>
<td>
Importance
</td>
<td>
This tea is <strong>very hot</strong>.
</td>
</tr>
<tr>
<td>
<code>small</code>
</td>
<td>
Side comments
</td>
<td>
These grapes are made into wine. <small>Alcohol is addictive.</small>
</td>
</tr>
<tr>
<td>
<code>s</code>
</td>
<td>
Inaccurate text
</td>
<td>
Price: <s>£4.50</s> £2.00!
</td>
</tr>
<tr>
<td>
<code>cite</code>
</td>
<td>
Titles of works
</td>
<td>
The case <cite>Hugo v. Danielle</cite> is relevant here.
</td>
</tr>
<tr>
<td>
<code>q</code>
</td>
<td>
Quotations
</td>
<td>
The judge said <q>You can drink water from the fish tank</q> but advised against it.
</td>
</tr>
<tr>
<td>
<code>dfn</code>
</td>
<td>
Defining instance
</td>
<td>
The term <dfn>organic food</dfn> refers to food produced without synthetic chemicals.
</td>
</tr>
<tr>
<td>
<code>abbr</code>
</td>
<td>
Abbreviations
</td>
<td>
Organic food in Ireland is certified by the <abbr title="Irish Organic Farmers and Growers Association">IOFGA</abbr>.
</td>
</tr>
<tr>
<td>
<code>ruby</code>, <code>rt</code>, <code>rp</code>
</td>
<td>
Ruby annotations
</td>
<td>
<ruby> OJ <rp>(<rt>Orange Juice<rp>)</ruby>
</td>
</tr>
<tr>
<td>
<code>data</code>
</td>
<td>
Machine-readable equivalent
</td>
<td>
Available starting today! <data value="UPC:022014640201">North Coast Organic Apple Cider</data>
</td>
</tr>
<tr>
<td>
<code>time</code>
</td>
<td>
Machine-readable equivalent of date- or time-related data
</td>
<td>
Available starting on <time datetime="2011-11-18">November 18th</time>!
</td>
</tr>
<tr>
<td>
<code>code</code>
</td>
<td>
Computer code
</td>
<td>
The <code>fruitdb</code> program can be used for tracking fruit production.
</td>
</tr>
<tr>
<td>
<code>var</code>
</td>
<td>
Variables
</td>
<td>
If there are <var>n</var> fruit in the bowl, at least <var>n</var>÷2 will be ripe.
</td>
</tr>
<tr>
<td>
<code>samp</code>
</td>
<td>
Computer output
</td>
<td>
The computer said <samp>Unknown error -3</samp>.
</td>
</tr>
<tr>
<td>
<code>kbd</code>
</td>
<td>
User input
</td>
<td>
Hit <kbd>F1</kbd> to continue.
</td>
</tr>
<tr>
<td>
<code>sub</code>
</td>
<td>
Subscripts
</td>
<td>
Water is H<sub>2</sub>O.
</td>
</tr>
<tr>
<td>
<code>sup</code>
</td>
<td>
Superscripts
</td>
<td>
The Hydrogen in heavy water is usually <sup>2</sup>H.
</td>
</tr>
<tr>
<td>
<code>i</code>
</td>
<td>
Alternative voice
</td>
<td>
Lemonade consists primarily of <i>Citrus limon</i>.
</td>
</tr>
<tr>
<td>
<code>b</code>
</td>
<td>
Keywords
</td>
<td>
Take a <b>lemon</b> and squeeze it with a <b>juicer</b>.
</td>
</tr>
<tr>
<td>
<code>u</code>
</td>
<td>
Annotations
</td>
<td>
The mixture of apple juice and <u class="spelling">eldeflower</u> juice is very pleasant.
</td>
</tr>
<tr>
<td>
<code>mark</code>
</td>
<td>
Highlight
</td>
<td>
Elderflower cordial, with one <mark>part</mark> cordial to ten <mark>part</mark>s water, stands a<mark>part</mark> from the rest.
</td>
</tr>
<tr>
<td>
<code>bdi</code>
</td>
<td>
Text directionality isolation
</td>
<td>
Quote in Arabic <bdi>الرجل القوي إيان</bdi>.
</td>
</tr>
<tr>
<td>
<code>bdo</code>
</td>
<td>
Text directionality formatting
</td>
<td>
The proposal is to write English, but in reverse order. "Juice" would become "<bdo dir=rtl>Juice</bdo>"
</td>
</tr>
<tr>
<td>
<code>span</code>
</td>
<td>
Other
</td>
<td>
In French we call it <span lang="fr">sirop de sureau</span>.
</td>
</tr>
<tr>
<td>
<code>br</code>
</td>
<td>
Line break
</td>
<td>
Simply Orange Juice Company<br>Apopka, FL 32703<br>U.S.A.
</td>
</tr>
<tr>
<td>
<code>wbr</code>
</td>
<td>
Line breaking opportunity
</td>
<td>
www.simply<wbr>orange<wbr>juice.com
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h1 id="section-edits">Edits</h1>
<ins>
<p><code>ins</code> as block-level.</p>
</ins>
<ul>
<li>Empty the dishwasher</li>
<li><del datetime="2009-10-11T01:25-07:00"><code>del</code> as inline-level</del></li>
<li>Buy a printer</li>
</ul>
<del>
<p><code>del</code> as block-level.</p>
</del>
<p>
<del datetime="2012-09-13"><code>del</code> as inline-level.</del> <ins datetime="2012-09-14T10:21:44+09:00"><code>ins</code> as inline-level.</ins>
</p>
</section>
<section>
<h1 id="section-embedded-content">Embedded content</h1>
<h2>The <code>picture</code> element</h2>
<picture>
<source media="(max-width: 500px)" srcset="assets/img/strawberry-small.png">
<img src="assets/img/strawberry.png" alt="">
</picture>
<h2>The <code>img</code> element</h2>
<article>
<h3>Fluffy</h3>
<p>Fluffy is my favorite.</p>
<img src="assets/img/strawberry-small.png" alt="">
<p>She's just too cute.</p>
</article>
<article>
<h3>Shooting moving targets indoors</h3>
<p>The trick here is to know how to anticipate; to know at what speed and what distance the subject will pass by.</p>
<img src="assets/img/strawberry-small.png" alt="">
</article>
<article>
<h3>My pets</h3>
<p>I've got a cat named Fluffy and a dog named Miles.</p>
<img src="assets/img/strawberry-small.png" alt="">
<p>My dog Miles and I like go on long walks together.</p>
</article>
<article>
<h3>Fluffy and the Yarn</h3>
<p>Fluffy was a cat who liked to play with yarn. She also liked to jump.</p>
<aside><img src="assets/img/strawberry-small.png" alt=""></aside>
<p>She would play in the morning, she would play in the evening.</p>
</article>
<h2>The <code>iframe</code> element</h2>
<iframe src="https://www.openstreetmap.org/export/embed.html?bbox=-0.004017949104309083%2C51.47612752641776%2C0.00030577182769775396%2C51.478569861898606&layer=mapnik"></iframe>
<!-- The embed tag is causing an infinite loop in Safari 14.0.2 when served by Github pages. -->
<!--
<h2>The <code>embed</code> element</h2>
<embed type="application/pdf" src="../assets/pdf_open_parameters.pdf">
-->
<!-- The object tag is causing an infinite loop in Safari 14.0.2 when served by Github pages. -->
<!--
<h2>The <code>object</code> element</h2>
<object type="application/pdf" data="../assets/pdf_open_parameters.pdf">
<param name="src" value="../assets/pdf_open_parameters.pdf">
</object>
-->
<h2>The <code>video</code> element</h2>
<video controls width="300" height="200" muted>
<source src="../assets/video/stream_of_water.mp4" type="video/mp4">
<source src="../assets/video/stream_of_water.webm" type="video/webm">
<track default kind="subtitles" srclang="en" src="../assets/video/stream_of_water.vtt">
<p>Your browser doesn't support HTML5 video. Here is a <a href="../assets/video/stream_of_water.mp4">link to the video.</a> instead.</p>
</video>
<h2>The <code>audio</code> element</h2>
<audio controls loop>
<source type="audio/mpeg" src="assets/audio/sos-morse-code_daniel-simion.mp3"/>
<p>Your browser does not support the <code>audio</code> element.</p>
</audio>
<h2>The <code>map</code> and <code>area</code> elements (Image maps)</h2>
<p>
Please select a shape:
<img src="assets/img/sample-usemap.png" usemap="#shapes" alt="Four shapes are available: a red hollow box, a green circle, a blue triangle, and a yellow four-pointed star.">
<map name="shapes">
<area shape=rect coords="50,50,100,100"> <!-- the hole in the red box -->
<area shape=rect coords="25,25,125,125" href="red.html" alt="Red box.">
<area shape=circle coords="200,75,50" href="green.html" alt="Green circle.">
<area shape=poly coords="325,25,262,125,388,125" href="blue.html" alt="Blue triangle.">
<area shape=poly coords="450,25,435,60,400,75,435,90,450,125,465,90,500,75,465,60" href="yellow.html" alt="Yellow star.">
</map>
</p>
</section>
<section>
<h1 id="section-tabular-data">Tabular data</h1>
<table>
<caption>Specification values: <b>Steel</b>, <b>Castings</b>, Ann. A.S.T.M. A27-16, Class B;* P max. 0.06; S max. 0.05.</caption>
<thead>
<tr>
<th rowspan=2>Grade.</th>
<th rowspan=2>Yield Point.</th>
<th colspan=2>Ultimate tensile strength</th>
<th rowspan=2>Per cent elong. 50.8mm or 2 in.</th>
<th rowspan=2>Per cent reduct. area.</th>
</tr>
<tr>
<th>kg/mm<sup>2</sup></th>
<th>lb/in<sup>2</sup></th>
</tr>
</thead>
<tbody>
<tr>
<td>Hard</td>
<td>0.45 ultimate</td>
<td>56.2</td>
<td>80,000</td>
<td>15</td>
<td>20</td>
</tr>
<tr>
<td>Medium</td>
<td>0.45 ultimate</td>
<td>49.2</td>
<td>70,000</td>
<td>18</td>
<td>25</td>
</tr>
<tr>
<td>Soft</td>
<td>0.45 ultimate</td>
<td>42.2</td>
<td>60,000</td>
<td>22</td>
<td>30</td>
</tr>
</tbody>
</table>
<table>
<colgroup>
<col>
</colgroup>
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead>
<tr>
<th></th>
<th>2008</th>
<th>2007</th>
<th>2006</th>
</tr>
</thead>
<tbody>
<tr>
<th scope=rowgroup>Research and development</th>
<td>$ 1,109</td>
<td>$ 782</td>
<td>$ 712</td>
</tr>
<tr>
<th scope=row>Percentage of net sales</th>
<td>3.4%</td>
<td>3.3%</td>
<td>3.7%</td>
</tr>
</tbody>
<tbody>
<tr>
<th scope=rowgroup>Selling, general, and administrative</th>
<td>$ 3,761</td>
<td>$ 2,963</td>
<td>$ 2,433</td>
</tr>
<tr>
<th scope=row>Percentage of net sales</th>
<td>11.6%</td>
<td>12.3%</td>
<td>12.6%</td>
</tr>
</tbody>
</table>
</section>
<section>
<h1 id="section-forms">Forms</h1>
<form method="post" enctype="application/x-www-form-urlencoded" action="#">
<p><label>Customer name: <input name="custname" required autocomplete="shipping name"></label></p>
<p><label>Telephone: <input type="tel" name="custtel" autocomplete="shipping tel"></label></p>
<p><label>E-mail address: <input type="email" name="custemail" autocomplete="shipping email"></label></p>
<fieldset>
<legend>Pizza Size</legend>
<p><label><input type="radio" name="size" required value="small">Small</label></p>
<p><label><input type="radio" name="size" required value="medium">Medium</label></p>
<p><label><input type="radio" name="size" required value="large">Large</label></p>
</fieldset>
<fieldset>
<legend>Pizza Toppings</legend>
<p><label><input type="checkbox" name="topping" value="bacon">Bacon</label></p>
<p><label><input type="checkbox" name="topping" value="cheese">Extra Cheese</label></p>
<p><label><input type="checkbox" name="topping" value="onion">Onion</label></p>
<p><label><input type="checkbox" name="topping" value="mushroom">Mushroom</label></p>
</fieldset>
<p><label>Preferred delivery time: <input type="time" min="11:00" max="21:00" step="900" name="delivery" required></label></p>
<p><label>Delivery instructions: <textarea name="comments" maxlength="1000"></textarea></label></p>
<p><button>Submit order</button></p>
</form>
<h2>The <code>input</code> element</h2>
<form>
<table>
<thead>
<tr>
<th>
Keyword
</th>
<th>
Example
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>hidden</code>
</td>
<td>
<input type="hidden" name="hidden" value="hidden">
</td>
</tr>
<tr>
<td>
<code>text</code>
</td>
<td>
<input type="text" name="text" value="text">
</td>
</tr>
<tr>
<td>
<code>search</code>
</td>
<td>
<input type="search" name="search" value="search">
</td>
</tr>
<tr>
<td>
<code>tel</code>
</td>
<td>
<input type="tel" name="tel" value="tel">
</td>
</tr>
<tr>
<td>
<code>url</code>
</td>
<td>
<input type="url" name="url">
</td>
</tr>
<tr>
<td>
<code>email</code>
</td>
<td>
<input type="email" name="email" value="email">
</td>
</tr>
<tr>
<td>
<code>password</code>
</td>
<td>
<input type="password" name="password" value="password">
</td>
</tr>
<tr>
<td>
<code>date</code>
</td>
<td>
<input type="date" name="date" value="">
</td>
</tr>
<tr>
<td>
<code>month</code>
</td>
<td>
<input type="month" name="month" value="">
</td>
</tr>
<tr>
<td>
<code>week</code>
</td>
<td>
<input type="week" name="week" value="">
</td>
</tr>
<tr>
<td>
<code>time</code>
</td>
<td>
<input type="time" name="time" value="">
</td>
</tr>
<tr>
<td>
<code>datetime-local</code>
</td>
<td>
<input type="datetime-local" name="datetime-local" value="">
</td>
</tr>
<tr>
<td>
<code>number</code>
</td>
<td>
<input type="number" name="number" value="">
</td>
</tr>
<tr>
<td>
<code>range</code>
</td>
<td>
<input type="range" name="range" value="1">
</td>
</tr>