-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1869 lines (1744 loc) · 52.6 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.0" />
<title>Visualize Html Cross Browser Rendering</title>
<meta
name="description"
content="Visualize html cross browser rendering of each elements Specifically, how much space it occupies like marigin, padding, border to each html elements in different browsers"
/>
<meta name="author" content="devansvd" />
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png" />
<link rel="manifest" href="./site.webmanifest" />
<link href="css/style.css" rel="stylesheet" />
</head>
<body>
<noscript>
<div class="js-disabled-alert">
You don't have javascript enabled. Good luck with that.
</div>
</noscript>
<h1 class="main-heading">
<span class="visualize">
<label class="switch">
<input
type="checkbox"
name="border-toggler"
id="border-toggler"
onchange="onBorderToggle()"
/>
<span class="slider round"></span>
</label>
</span>
Html-5 elements - Visualize Cross Browser Rendering
<a
href="https://github.com/devansvd"
target="_blank"
rel="noreferrer noopener"
style="float: right;"
>
<svg
class="octicon octicon-mark-github v-align-middle"
height="32"
viewBox="0 0 16 16"
version="1.1"
width="32"
aria-hidden="true"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z"
></path>
</svg>
</a>
</h1>
<p style="clear: both;">
This is not suppose to be used as a reference(use
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference"
target="_blank"
rel="noreferrer noopener"
>
MDN
</a>
for that),
<strong>
Intended to visualize default cross browser rendering of each elements Specifically, how
much space it occupies like marigin, padding, border.
</strong>
Intentionally each elements placed next to each other(Span tag is occupied as their heading)
to see if that specific element is <strong>inline or block element</strong>.
<q>So don't think like page is not aligned properly, What the Hell ?</q>
<strong>No Additional Margin, Padding, Border is added in-between elements.</strong>
Grouping sub headings are fake to check their actual grouped section head to
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference"
target="_blank"
rel="noreferrer noopener"
>
MDN
</a>
or
<a
href="https://html.spec.whatwg.org/multipage/dom.html"
target="_blank"
rel="noopener noreferrer"
>
Html5 Spec.
</a>
</p>
<p style="text-align: center; margin: 5px;">
<em>
<strong>Fun Fact:</strong>
Did you know html elements had an element named
<q>
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/element"
target="_blank"
rel="noopener noreferrer"
>
element
</a>
</q>
? Well ! I didn't.
</em>
</p>
<p style="text-align: center; margin: 5px;">
<strong>Note:</strong>
<em>
Click the left element heading(Red color heading) of each element to view their reference
and how to use.
</em>
</p>
<h2 class="sub-heading">Input types:</h2>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text"
target="_blank"
rel="noopener noreferrer"
>
text:
</a>
</span>
<input type="text" name="one" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text"
target="_blank"
rel="noopener noreferrer"
>
disabled text:
</a>
</span>
<input type="text" name="dis" disabled />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number"
target="_blank"
rel="noopener noreferrer"
>
number:
</a>
</span>
<input type="number" name="number" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button"
target="_blank"
rel="noopener noreferrer"
>
button:
</a>
</span>
<input type="button" name="two" value="Click the Button" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox"
target="_blank"
rel="noopener noreferrer"
>
checkbox:
</a>
</span>
<input type="checkbox" id="scales" name="scales" checked />
<label for="scales">Scales</label>
<input type="checkbox" id="horns" name="horns" />
<label for="horns">Horns</label>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color"
target="_blank"
rel="noopener noreferrer"
>
color:
</a>
</span>
<input type="color" name="color" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date"
target="_blank"
rel="noopener noreferrer"
>
date:
</a>
</span>
<input type="date" name="date" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local"
target="_blank"
rel="noopener noreferrer"
>
datetime local:
</a>
</span>
<input type="datetime-local" name="datetime-local" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email"
target="_blank"
rel="noopener noreferrer"
>
email:
</a>
</span>
<input type="email" name="email" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file"
target="_blank"
rel="noopener noreferrer"
>
file:
</a>
</span>
<input type="file" name="file" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden"
target="_blank"
rel="noopener noreferrer"
>
hidden:
</a>
</span>
<input type="hidden" name="hidden" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/month"
target="_blank"
rel="noopener noreferrer"
>
month:
</a>
</span>
<input type="month" name="month" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password"
target="_blank"
rel="noopener noreferrer"
>
password:
</a>
</span>
<input type="password" name="password" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio"
target="_blank"
rel="noopener noreferrer"
>
radio:
</a>
</span>
<input type="radio" id="huey" name="drone" value="huey" checked />
<label for="huey">Huey</label>
<input type="radio" id="dewey" name="drone" value="dewey" />
<label for="dewey">Dewey</label>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range"
target="_blank"
rel="noopener noreferrer"
>
range:
</a>
</span>
<input type="range" id="cowbell" name="cowbell" min="0" max="100" value="50" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/reset"
target="_blank"
rel="noopener noreferrer"
>
reset:
</a>
</span>
<input type="reset" value="Reset" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search"
target="_blank"
rel="noopener noreferrer"
>
search:
</a>
</span>
<input type="search" name="search" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit"
target="_blank"
rel="noopener noreferrer"
>
submit:
</a>
</span>
<input type="submit" value="Click to Submit" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel"
target="_blank"
rel="noopener noreferrer"
>
tel:
</a>
</span>
<input type="tel" id="phone" name="phone" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" required />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time"
target="_blank"
rel="noopener noreferrer"
>
time:
</a>
</span>
<input type="time" name="time" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url"
target="_blank"
rel="noopener noreferrer"
>
url:
</a>
</span>
<input type="url" name="url" placeholder="https://example.com" pattern="https://.*" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/week"
target="_blank"
rel="noopener noreferrer"
>
week:
</a>
</span>
<input type="week" name="week" />
<br />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image"
target="_blank"
rel="noopener noreferrer"
>
image:
</a>
</span>
<input type="image" alt="Login" width="100" src="images/login-button.png" />
<h2 class="sub-heading">Form elements:</h2>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
target="_blank"
rel="noopener noreferrer"
>
button element:
</a>
</span>
<button name="button">Click the button</button>
<!-- input type button, form element-->
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist"
target="_blank"
rel="noopener noreferrer"
>
datalist element:
</a>
</span>
<input list="browsers" id="myBrowser" name="myBrowser" />
<datalist id="browsers">
<option value="Chrome"> </option>
<option value="Firefox"> </option>
<option value="Internet Explorer"> </option>
<option value="Opera"> </option>
<option value="Safari"> </option>
<option value="Microsoft Edge"> </option>
</datalist>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset"
target="_blank"
rel="noopener noreferrer"
>
fieldset element:
</a>
</span>
<fieldset>
<legend>Choose your favorite monster</legend>
<input type="radio" id="kraken" name="monster" />
<label for="kraken">Kraken</label><br />
<input type="radio" id="sasquatch" name="monster" />
<label for="sasquatch">Sasquatch</label><br />
<input type="radio" id="mothman" name="monster" />
<label for="mothman">Mothman</label>
</fieldset>
<span class="head-el">
<a href="http://" target="_blank" rel="noopener noreferrer">label element:</a>
</span>
<label>Do you like cheese?</label>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"
target="_blank"
rel="noopener noreferrer"
>
legend element:
</a>
</span>
<legend>Choose your favorite monster</legend>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form"
target="_blank"
rel="noopener noreferrer"
>
form element:
</a>
</span>
<form action="" method="get">
Form element represents a document section containing interactive controls for submitting
information.
</form>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea"
target="_blank"
rel="noopener noreferrer"
>
textarea element:
</a>
</span>
<textarea>
textarea element represents a multi-line plain-text editing control, useful when you want to allow users to
enter a sizeable amount of free-form text, for example a comment on a review or feedback form
</textarea>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter"
target="_blank"
rel="noopener noreferrer"
>
meter element:
</a>
</span>
<meter id="fuel" min="0" max="100" low="33" high="66" optimum="80" value="50">
At 50/100
</meter>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select"
target="_blank"
rel="noopener noreferrer"
>
select, options elements:
</a>
</span>
<select>
<option>Tyrannosaurus</option>
<option>Velociraptor</option>
<option>Deinonychus</option>
<option>Diplodocus</option>
<option>Saltasaurus</option>
<option>Apatosaurus</option>
</select>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup"
target="_blank"
rel="noopener noreferrer"
>
select with optgroup elements:
</a>
</span>
<select>
<optgroup label="Theropods">
<option>Tyrannosaurus</option>
<option>Velociraptor</option>
<option>Deinonychus</option>
</optgroup>
<optgroup label="Sauropods">
<option>Diplodocus</option>
<option>Saltasaurus</option>
<option>Apatosaurus</option>
</optgroup>
</select>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output"
target="_blank"
rel="noopener noreferrer"
>
output element:
</a>
</span>
<output>Output = 60</output>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress"
target="_blank"
rel="noopener noreferrer"
>
progress element:
</a>
</span>
<progress max="100" value="70"> 70% </progress>
<h2 class="sub-heading">Inline Elements:</h2>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a"
target="_blank"
rel="noopener noreferrer"
>
a element:
</a>
</span>
<a href="https://www.netlify.com">
Netlify
</a>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr"
target="_blank"
rel="noopener noreferrer"
>
abbr element:
</a>
</span>
<abbr title="Laugh Out Loud">LOL</abbr>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b"
target="_blank"
rel="noopener noreferrer"
>
b element:
</a>
</span>
<span>b element is known as <b>Bring attention to element</b> </span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi"
target="_blank"
rel="noopener noreferrer"
>
bdi element:
</a>
</span>
<bdi>الرجل القوي إيان</bdi>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo"
target="_blank"
rel="noopener noreferrer"
>
bdo element:
</a>
</span>
<bdo dir="rtl">This text will go right to left.</bdo>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br"
target="_blank"
rel="noopener noreferrer"
>
br element:
</a>
</span>
<br />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite"
target="_blank"
rel="noopener noreferrer"
>
cite element:
</a>
</span>
<cite>
Nineteen Eighty-Four by George Orwell (Part 1, Chapter 1)
</cite>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code"
target="_blank"
rel="noopener noreferrer"
>
code element:
</a>
</span>
<code>[1,2,3,4].push()</code>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data"
target="_blank"
rel="noopener noreferrer"
>
data element:
</a>
</span>
<data value="Ketchup">Mini Ketchup</data>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn"
target="_blank"
rel="noopener noreferrer"
>
dfn element:
</a>
</span>
<span>
The (<dfn><dfn></dfn>) - definition.
</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em"
target="_blank"
rel="noopener noreferrer"
>
em element:
</a>
</span>
<span>
In html 5, what was previously called <em>block-level</em> content is now called
<em>flow</em> content.
</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i"
target="_blank"
rel="noopener noreferrer"
>
i element:
</a>
</span>
<span>
The Latin phrase <i>Veni, vidi, vici</i> is often mentioned in music, art, and literature.
</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd"
target="_blank"
rel="noopener noreferrer"
>
kbd element:
</a>
</span>
<span> Terminal magic press <kbd>Ctrl</kbd> + <kbd>r</kbd></span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark"
target="_blank"
rel="noopener noreferrer"
>
mark element:
</a>
</span>
<span>Mark my <mark>words</mark></span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q"
target="_blank"
rel="noopener noreferrer"
>
q element:
</a>
</span>
<span>The <q>Inline Quotation</q> element</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s"
target="_blank"
rel="noopener noreferrer"
>
s element:
</a>
</span>
<s>Strike me through.</s>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp"
target="_blank"
rel="noopener noreferrer"
>
samp element:
</a>
</span>
<samp>Keyboard not found, Press F1 to continue. Ouch!!!</samp>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small"
target="_blank"
rel="noopener noreferrer"
>
small element:
</a>
</span>
<small>This whole sentence is in small letters.</small>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
target="_blank"
rel="noopener noreferrer"
>
span element:
</a>
</span>
<span>Some text inside span</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong"
target="_blank"
rel="noopener noreferrer"
>
strong element:
</a>
</span>
<span><strong>Important:</strong> Before proceeding, make sure you add plenty of butter.</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub"
target="_blank"
rel="noopener noreferrer"
>
sub element:
</a>
</span>
<span>C<sub>8</sub>H<sub>10</sub>N<sub>4</sub>O<sub>2</sub></span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup"
target="_blank"
rel="noopener noreferrer"
>
sup element:
</a>
</span>
<span>a<sup>2</sup>+ b<sup>2</sup> = c<sup>2</sup></span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time"
target="_blank"
rel="noopener noreferrer"
>
time element:
</a>
</span>
<time datetime="2018-07-07T20:00:00">20:00</time>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u"
target="_blank"
rel="noopener noreferrer"
>
u element:
</a>
</span>
<span>This sentence has <u class="spelling">wrnogly</u> spelled word.</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var"
target="_blank"
rel="noopener noreferrer"
>
var element:
</a>
</span>
<var>l</var> × <var>w</var> × <var>h</var>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr"
target="_blank"
rel="noopener noreferrer"
>
wbr element:
</a>
</span>
<span>Reallylongword<wbr />wbronlyeffect<wbr />setting<wbr />width</span>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rb"
target="_blank"
rel="noopener noreferrer"
>
rb, rp, rt elements:
</a>
</span>
<!-- prettier-ignore -->
<ruby>
<rb>漢<rb>字
<rp>(</rp><rt>kan<rt>ji<rp>)</rp>
</ruby>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby"
target="_blank"
rel="noopener noreferrer"
>
ruby, rtc elements:
</a>
</span>
<!-- prettier-ignore -->
<ruby>
<rbc>
<rb>旧</rb><rt>jiù</rt>
<rb>金</rb><rt>jīn</rt>
<rb>山</rb><rt>shān</rt>
</rbc>
<rtc>San Francisco</rtc>
</ruby>
<h2 class="sub-heading">Special Elements:</h2>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio"
target="_blank"
rel="noopener noreferrer"
>
audio element:
</a>
</span>
<audio controls src="audios/t-rex-roar.mp3">
Your browser does not support the
<code>audio</code> element.
</audio>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img"
target="_blank"
rel="noopener noreferrer"
>
img element:
</a>
</span>
<img src="images/clock-demo-400px.png" width="150px" alt="Clock" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video"
target="_blank"
rel="noopener noreferrer"
>
video, track elements:
</a>
</span>
<video controls width="250" src="videos/friday.mp4">
<track default kind="captions" srclang="en" src="videos/friday.vtt" />
Sorry, your browser doesn't support embedded videos.
</video>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed"
target="_blank"
rel="noopener noreferrer"
>
embed element:
</a>
</span>
<embed type="video/webm" src="videos/flower.webm" width="250" height="200" title="Flower" />
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map"
target="_blank"
rel="noopener noreferrer"
>
map, area elements:
</a>
</span>
<img src="images/workplace.jpg" alt="Workplace" usemap="#workmap" width="400" height="379" />
<map name="workmap">
<area
shape="rect"
coords="34,44,270,350"
alt="Computer"
href="https://en.wikipedia.org/wiki/Computer"
target="_blank"
/>
<area
shape="rect"
coords="290,172,333,250"
alt="Phone"
href="https://en.wikipedia.org/wiki/Telephone"
target="_blank"
/>
<area
shape="circle"
coords="337,300,44"
alt="Cup of coffee"
href="https://en.wikipedia.org/wiki/Coffee"
target="_blank"
/>
</map>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe"
target="_blank"
rel="noopener noreferrer"
>
Iframe element:
</a>
</span>
<iframe title="Current page" width="300" height="200" src="./"> </iframe>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object"
target="_blank"
rel="noopener noreferrer"
>
Object, param elements(pdf):
</a>
</span>
<object type="application/pdf" data="pdfs/sample.pdf" width="250" height="200">
<param name="foo" value="bar" />
</object>
<span class="head-el">
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas"