-
Notifications
You must be signed in to change notification settings - Fork 0
/
HTML elements reference - HTML_ HyperText Markup Language _ MDN.html
1071 lines (888 loc) · 248 KB
/
HTML elements reference - HTML_ HyperText Markup Language _ MDN.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>
<!-- saved from url=(0057)https://developer.mozilla.org/en-US/docs/Web/HTML/Element -->
<html lang="en-US" prefix="og: https://ogp.me/ns#"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="https://developer.mozilla.org/favicon-48x48.cbbd161b.png"><link rel="apple-touch-icon" href="https://developer.mozilla.org/apple-touch-icon.6803c6f0.png"><meta name="theme-color" content="#ffffff"><link rel="manifest" href="https://developer.mozilla.org/manifest.56b1cedc.json"><link rel="search" type="application/opensearchdescription+xml" href="https://developer.mozilla.org/opensearch.xml" title="MDN Web Docs"><title>HTML elements reference - HTML: HyperText Markup Language | MDN</title><link rel="alternate" title="Referencia de Elementos HTML" href="https://developer.mozilla.org/es/docs/Web/HTML/Element" hreflang="es"><link rel="alternate" title="Référence des éléments HTML" href="https://developer.mozilla.org/fr/docs/Web/HTML/Element" hreflang="fr"><link rel="alternate" title="HTML 要素リファレンス" href="https://developer.mozilla.org/ja/docs/Web/HTML/Element" hreflang="ja"><link rel="alternate" title="HTML 요소 참고서" href="https://developer.mozilla.org/ko/docs/Web/HTML/Element" hreflang="ko"><link rel="alternate" title="Elementos HTML" href="https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element" hreflang="pt"><link rel="alternate" title="Элемент" href="https://developer.mozilla.org/ru/docs/Web/HTML/Element" hreflang="ru"><link rel="alternate" title="HTML 元素参考" href="https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element" hreflang="zh"><link rel="alternate" title="HTML 元素" href="https://developer.mozilla.org/zh-TW/docs/Web/HTML/Element" hreflang="zh-TW"><link rel="alternate" title="HTML elements reference" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element" hreflang="en"><meta name="robots" content="index, follow"><meta name="description" content="This page lists all the HTML elements, which are created using tags."><meta property="og:url" content="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"><meta property="og:title" content="HTML elements reference - HTML: HyperText Markup Language | MDN"><meta property="og:locale" content="en-US"><meta property="og:description" content="This page lists all the HTML elements, which are created using tags."><meta property="og:image" content="https://developer.mozilla.org/mdn-social-share.cd6c4a5a.png"><meta property="twitter:card" content="summary_large_image"><link rel="canonical" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"><style media="print">.article-actions-container,.document-toc-container,.language-menu,.main-menu-toggle,.mdn-cta-container,.on-github,.page-footer,.sidebar,.top-navigation-main,ul.prev-next{display:none!important}.main-page-content,.main-page-content pre{padding:2px}.main-page-content pre{border-left-width:2px}</style><script src="./HTML elements reference - HTML_ HyperText Markup Language _ MDN_files/ga.js.download" defer=""></script><script defer="defer" src="./HTML elements reference - HTML_ HyperText Markup Language _ MDN_files/main.3546ed16.js.download"></script><link href="./HTML elements reference - HTML_ HyperText Markup Language _ MDN_files/main.3f157572.css" rel="stylesheet"><script async="" src="./HTML elements reference - HTML_ HyperText Markup Language _ MDN_files/analytics.js.download"></script></head><body><script>document.body.addEventListener("load",(t=>{t.target.classList.contains("interactive")&&t.target.setAttribute("data-readystate","complete")}),{capture:!0});const c={light:"#ffffff",dark:"#1b1b1b"};if(window&&document.documentElement)try{const t=window.localStorage.getItem("theme");t&&(document.documentElement.className=t,document.documentElement.style.backgroundColor=c[t])}catch(t){console.warn("Unable to read theme from localStorage",t)}</script><div id="root"><ul id="nav-access" class="a11y-nav"><li><a id="skip-main" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#content">Skip to main content</a></li><li><a id="skip-search" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#top-nav-search-input">Skip to search</a></li><li><a id="skip-select-language" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#languages-switcher-button">Skip to select language</a></li></ul><div class="mdn-cta-container"><div id="mdn-cta-content" class="mdn-cta-content"><div id="plus_launch_announcement" class="mdn-cta-content-container"><p class="mdn-cta-copy"><a href="https://developer.mozilla.org/en-US/plus" class="mdn-plus">MDN Plus</a> now available in <span class="underlined">your</span> country! Support MDN <span class="underlined">and</span> make it your own. <a href="https://hacks.mozilla.org/2022/04/mdn-plus-now-available-in-more-markets" target="_blank" rel="noopener noreferrer">Learn more</a> ✨</p></div></div><div class="mdn-cta-controls"><button type="button" id="mdn-cta-close" class="mdn-cta-close" aria-label="Close banner"><svg class="icon" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img"><g fill="currentColor" transform="rotate(-45 50 50)"><rect height="121.7" rx="6.76" width="13.52" x="43.24" y="-10.85"></rect><rect height="13.52" rx="6.76" width="121.7" x="-10.85" y="43.24"></rect></g></svg></button></div></div><div class="page-wrapper category-html document-page"><div class="main-document-header-container"><header class="main-document-header-container top-navigation
"><div class="container "><div class="top-navigation-wrap"><a href="https://developer.mozilla.org/en-US/" class="logo" aria-label="MDN homepage"><svg id="mdn-docs-logo" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 694.9 104.4" xml:space="preserve" role="img"><title>MDN Web Docs</title><style>.logo-m{fill:var(--text-link)}</style><g class="logo-m"><path d="M40.3 0 11.7 92.1H0L28.5 0h11.8zM50.7 0v92.1H40.3V0h10.4zM91 0 62.5 92.1H50.8L79.3 0H91zM101.4 0v92.1H91V0h10.4z"></path></g><path class="logo-m" d="M627.9 95.6h67v8.8h-67v-8.8z"></path><g style="fill: var(--text-primary);"><path d="M367 42h-4l-10.7 30.8h-5.5l-10.8-26h-.4l-10.5 26h-5.2L308.7 42h-3.8v-5.6H323V42h-6.5l6.8 20.4h.4l10.3-26h4.7l11.2 26h.5l5.7-20.3h-6.2v-5.6H367V42zM401.9 62c-.4 3.2-2 5.9-4.7 8.2-2.8 2.3-6.5 3.4-11.3 3.4-5.4 0-9.7-1.6-13.1-4.7-3.3-3.2-5-7.7-5-13.7 0-5.7 1.6-10.3 4.7-14s7.4-5.5 12.9-5.5c5.1 0 9.1 1.6 11.9 4.7s4.3 6.9 4.3 11.3c0 1.5-.2 3-.5 4.7h-25.6c.3 7.7 4 11.6 10.9 11.6 2.9 0 5.1-.7 6.5-2 1.5-1.4 2.5-3 3-4.9l6 .9zM394 51.3c.2-2.4-.4-4.7-1.8-6.9s-3.8-3.3-7-3.3c-3.1 0-5.3 1-6.9 3-1.5 2-2.5 4.4-2.8 7.2H394zM445 53.7c0 5-1.3 9.5-4 13.7s-6.9 6.2-12.7 6.2c-6 0-10.3-2.2-12.7-6.7-.1.4-.2 1.4-.4 2.9s-.3 2.5-.4 2.9h-7.3c.3-1.7.6-3.5.8-5.3.3-1.8.4-3.7.4-5.5V22.3h-6v-5.6H416v27c1.1-2.2 2.7-4.1 4.7-5.7 2-1.6 4.8-2.4 8.4-2.4 4.6 0 8.4 1.6 11.4 4.7 3 3.2 4.5 7.6 4.5 13.4zm-7.7.6c0-4.2-1-7.4-3-9.5-2-2.2-4.4-3.3-7.4-3.3-3.4 0-6 1.2-8 3.7-1.9 2.4-2.9 5-3 7.7V57c0 3 1 5.6 3 7.7s4.5 3.1 7.6 3.1c3.6 0 6.3-1.3 8.1-3.9 1.8-2.7 2.7-5.9 2.7-9.6zM506.5 72.8h-13.2v-7.2c-1.2 2.2-2.8 4.1-4.9 5.6-2.1 1.6-4.8 2.4-8.3 2.4-4.8 0-8.7-1.6-11.6-4.9-2.9-3.2-4.3-7.7-4.3-13.3 0-5 1.3-9.6 4-13.7 2.6-4.1 6.9-6.2 12.8-6.2 5.7 0 9.8 2.2 12.3 6.5V22.3h-8.6v-5.6h15.8v50.6h6v5.5zM493.2 56v-4.4c-.1-3-1.2-5.5-3.2-7.3s-4.4-2.8-7.2-2.8c-3.6 0-6.3 1.3-8.2 3.9-1.9 2.6-2.8 5.8-2.8 9.6 0 4.1 1 7.3 3 9.5s4.5 3.3 7.4 3.3c3.2 0 5.8-1.3 7.8-3.8 2.1-2.6 3.1-5.3 3.2-8zM546.3 54.6c0 5.6-1.8 10.2-5.3 13.7s-8.2 5.3-13.9 5.3-10.1-1.7-13.4-5.1c-3.3-3.4-5-7.9-5-13.5 0-5.3 1.6-9.9 4.7-13.7 3.2-3.8 7.9-5.7 14.2-5.7s11 1.9 14.1 5.7c3 3.7 4.6 8.1 4.6 13.3zm-7.7-.2c0-4-1-7.2-3-9.5s-4.8-3.5-8.2-3.5c-3.6 0-6.4 1.2-8.3 3.7s-2.9 5.6-2.9 9.5c0 3.7.9 6.8 2.8 9.4 1.9 2.6 4.6 3.9 8.3 3.9 3.6 0 6.4-1.3 8.4-3.8 1.9-2.6 2.9-5.8 2.9-9.7zM583.6 60.2c-.4 3.2-1.9 6.3-4.4 9.1-2.5 2.9-6.4 4.3-11.8 4.3-5.2 0-9.4-1.6-12.6-4.8-3.2-3.2-4.8-7.7-4.8-13.7 0-5.5 1.6-10.1 4.7-13.9 3.2-3.8 7.6-5.7 13.2-5.7 2.3 0 4.6.3 6.7.8 2.2.5 4.2 1.5 6.2 2.9l1.5 9.5-5.9.7-1.3-6.1c-2.1-1.2-4.5-1.8-7.2-1.8-3.5 0-6.1 1.2-7.7 3.7-1.7 2.5-2.5 5.7-2.5 9.6 0 4.1.9 7.3 2.7 9.5 1.8 2.3 4.4 3.4 7.8 3.4 5.2 0 8.2-2.9 9.2-8.8l6.2 1.3zM618.3 62.1c0 3.6-1.5 6.5-4.6 8.5s-7 3-11.7 3c-5.7 0-10.6-1.2-14.6-3.6l1.2-8.8 5.7.6-.2 4.7c1.1.5 2.3.9 3.6 1.1s2.6.3 3.9.3c2.4 0 4.5-.4 6.5-1.3 1.9-.9 2.9-2.2 2.9-4.1 0-1.8-.8-3.1-2.3-3.8s-3.5-1.3-5.8-1.7-4.6-.9-6.9-1.4c-2.3-.6-4.2-1.6-5.7-2.9-1.6-1.4-2.3-3.5-2.3-6.3 0-4.1 1.5-6.9 4.6-8.5s6.4-2.4 9.9-2.4c2.6 0 5 .3 7.2.9 2.2.6 4.3 1.4 6.1 2.4l.8 8.8-5.8.7-.8-5.7c-2.3-1-4.7-1.6-7.2-1.6-2.1 0-3.7.4-5.1 1.1-1.3.8-2 2-2 3.8 0 1.7.8 2.9 2.3 3.6 1.5.7 3.4 1.2 5.7 1.6 2.2.4 4.5.8 6.7 1.4 2.2.6 4.1 1.6 5.7 3 1.4 1.6 2.2 3.7 2.2 6.6zM197.6 73.2h-17.1v-5.5h3.8V51.9c0-3.7-.7-6.3-2.1-7.9-1.4-1.6-3.3-2.3-5.7-2.3-3.2 0-5.6 1.1-7.2 3.4s-2.4 4.6-2.5 6.9v15.6h6v5.5h-17.1v-5.5h3.8V51.9c0-3.8-.7-6.4-2.1-7.9-1.4-1.5-3.3-2.3-5.6-2.3-3.2 0-5.5 1.1-7.2 3.3-1.6 2.2-2.4 4.5-2.5 6.9v15.8h6.9v5.5h-20.2v-5.5h6V42.4h-6.1v-5.6h13.4v6.4c1.2-2.1 2.7-3.8 4.7-5.2 2-1.3 4.4-2 7.3-2s5.3.7 7.5 2.1c2.2 1.4 3.7 3.5 4.5 6.4 1.1-2.5 2.7-4.5 4.9-6.1s4.8-2.4 7.9-2.4c3.5 0 6.5 1.1 8.9 3.3s3.7 5.6 3.7 10.2v18.2h6.1v5.5zm42.5 0h-13.2V66c-1.2 2.2-2.8 4.1-4.9 5.6-2.1 1.6-4.8 2.4-8.3 2.4-4.8 0-8.7-1.6-11.6-4.9-2.9-3.2-4.3-7.7-4.3-13.3 0-5 1.3-9.6 4-13.7 2.6-4.1 6.9-6.2 12.8-6.2s9.8 2.2 12.3 6.5V22.7h-8.6v-5.6h15.8v50.6h6v5.5zm-13.3-16.8V52c-.1-3-1.2-5.5-3.2-7.3s-4.4-2.8-7.2-2.8c-3.6 0-6.3 1.3-8.2 3.9-1.9 2.6-2.8 5.8-2.8 9.6 0 4.1 1 7.3 3 9.5s4.5 3.3 7.4 3.3c3.2 0 5.8-1.3 7.8-3.8 2.1-2.6 3.1-5.3 3.2-8zm61.5 16.8H269v-5.5h6V51.9c0-3.7-.7-6.3-2.2-7.9-1.4-1.6-3.4-2.3-5.7-2.3-3.1 0-5.6 1-7.4 3s-2.8 4.4-2.9 7v15.9h6v5.5h-19.3v-5.5h6V42.4h-6.2v-5.6h13.6V43c2.6-4.6 6.8-6.9 12.7-6.9 3.6 0 6.7 1.1 9.2 3.3s3.7 5.6 3.7 10.2v18.2h6v5.4h-.2z"></path></g></svg></a><button aria-expanded="false" aria-haspopup="menu" aria-label="Open main menu" title="Open main menu" type="button" class="button action has-icon main-menu-toggle"><span class="button-wrap"><span class="icon icon-menu "></span><span class="visually-hidden">Open main menu</span></span></button></div><div class="top-navigation-main"><nav class="main-nav" aria-label="Main menu"><ul class="main-menu"><li class="top-level-entry-container"><button type="button" id="references-button" class="top-level-entry menu-toggle" aria-controls="references-menu" aria-expanded="false">References</button><a class="top-level-entry" href="https://developer.mozilla.org/en-US/docs/Web">References</a><ul id="references-menu" class="submenu references hidden inline-submenu-lg" aria-labelledby="references-button"><li class="apis-link-container mobile-only "><a href="https://developer.mozilla.org/en-US/docs/Web" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">Overview / Web Technology</div><p class="submenu-item-description">Web technology reference for developers</p></div></a></li><li class="html-link-container "><a href="https://developer.mozilla.org/en-US/docs/Web/HTML" class="submenu-item "><div class="submenu-icon html"></div><div class="submenu-content-container"><div class="submenu-item-heading">HTML</div><p class="submenu-item-description">Structure of content on the web</p></div></a></li><li class="css-link-container "><a href="https://developer.mozilla.org/en-US/docs/Web/CSS" class="submenu-item "><div class="submenu-icon css"></div><div class="submenu-content-container"><div class="submenu-item-heading">CSS</div><p class="submenu-item-description">Code used to describe document style</p></div></a></li><li class="javascript-link-container "><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" class="submenu-item "><div class="submenu-icon javascript"></div><div class="submenu-content-container"><div class="submenu-item-heading">JavaScript</div><p class="submenu-item-description">General-purpose scripting language</p></div></a></li><li class="http-link-container "><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP" class="submenu-item "><div class="submenu-icon http"></div><div class="submenu-content-container"><div class="submenu-item-heading">HTTP</div><p class="submenu-item-description">Protocol for transmitting web resources</p></div></a></li><li class="apis-link-container "><a href="https://developer.mozilla.org/en-US/docs/Web/API" class="submenu-item "><div class="submenu-icon apis"></div><div class="submenu-content-container"><div class="submenu-item-heading">Web APIs</div><p class="submenu-item-description">Interfaces for building web applications</p></div></a></li><li class="apis-link-container "><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">Web Extensions</div><p class="submenu-item-description">Developing extensions for web browsers</p></div></a></li><li class="apis-link-container desktop-only "><a href="https://developer.mozilla.org/en-US/docs/Web" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">Web Technology</div><p class="submenu-item-description">Web technology reference for developers</p></div></a></li></ul></li><li class="top-level-entry-container"><button type="button" id="guides-button" class="top-level-entry menu-toggle" aria-controls="guides-menu" aria-expanded="false">Guides</button><a class="top-level-entry" href="https://developer.mozilla.org/en-US/docs/Learn">Guides</a><ul id="guides-menu" class="submenu guides hidden inline-submenu-lg" aria-labelledby="guides-button"><li class="apis-link-container mobile-only "><a href="https://developer.mozilla.org/en-US/docs/Learn" class="submenu-item "><div class="submenu-icon learn"></div><div class="submenu-content-container"><div class="submenu-item-heading">Overview / MDN Learning Area</div><p class="submenu-item-description">Learn web development</p></div></a></li><li class="apis-link-container desktop-only "><a href="https://developer.mozilla.org/en-US/docs/Learn" class="submenu-item "><div class="submenu-icon learn"></div><div class="submenu-content-container"><div class="submenu-item-heading">MDN Learning Area</div><p class="submenu-item-description">Learn web development</p></div></a></li><li class="html-link-container "><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML" class="submenu-item "><div class="submenu-icon html"></div><div class="submenu-content-container"><div class="submenu-item-heading">HTML</div><p class="submenu-item-description">Learn to structure web content with HTML</p></div></a></li><li class="css-link-container "><a href="https://developer.mozilla.org/en-US/docs/Learn/CSS" class="submenu-item "><div class="submenu-icon css"></div><div class="submenu-content-container"><div class="submenu-item-heading">CSS</div><p class="submenu-item-description">Learn to style content using CSS</p></div></a></li><li class="javascript-link-container "><a href="https://developer.mozilla.org/en-US/docs/Learn/JavaScript" class="submenu-item "><div class="submenu-icon javascript"></div><div class="submenu-content-container"><div class="submenu-item-heading">JavaScript</div><p class="submenu-item-description">Learn to run scripts in the browser</p></div></a></li><li class=" "><a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">Accessibility</div><p class="submenu-item-description">Learn to make the web accessible to all</p></div></a></li></ul></li><li class="top-level-entry-container"><button type="button" id="mdn-plus-button" class="top-level-entry menu-toggle" aria-controls="mdn-plus-menu" aria-expanded="false">MDN Plus</button><a class="top-level-entry" href="https://developer.mozilla.org/en-US/plus">MDN Plus</a><ul id="mdn-plus-menu" class="submenu mdn-plus hidden inline-submenu-lg" aria-labelledby="mdn-plus-button"><li class=" "><a href="https://developer.mozilla.org/en-US/plus" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">Overview</div><p class="submenu-item-description">A customized MDN experience</p></div></a></li><li class=" "><a href="https://developer.mozilla.org/en-US/plus/docs/features/overview" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">Documentation</div><p class="submenu-item-description">Learn how to use MDN Plus</p></div></a></li><li class=" "><a href="https://developer.mozilla.org/en-US/plus/docs/faq" class="submenu-item "><div class="submenu-icon"></div><div class="submenu-content-container"><div class="submenu-item-heading">FAQ</div><p class="submenu-item-description">Frequently asked questions about MDN Plus</p></div></a></li></ul></li></ul></nav><div class="header-search"><form action="https://developer.mozilla.org/en-US/search" role="search" aria-haspopup="listbox" aria-owns="top-nav-search-menu" aria-expanded="false" class="search-form search-widget" id="top-nav-search-form"><label id="top-nav-search-label" for="top-nav-search-input" class="visually-hidden">Search MDN</label><input id="top-nav-search-input" aria-autocomplete="list" aria-controls="top-nav-search-menu" aria-labelledby="top-nav-search-label" autocomplete="off" type="search" class="search-input-field" name="q" placeholder=" " required="" value=""><button type="button" class="button action has-icon clear-search-button"><span class="button-wrap"><span class="icon icon-cancel "></span><span class="visually-hidden">Clear search input</span></span></button><button type="submit" class="button action has-icon search-button"><span class="button-wrap"><span class="icon icon-search "></span><span class="visually-hidden">Search</span></span></button><div id="top-nav-search-menu" role="listbox" aria-labelledby="top-nav-search-label"></div></form></div><div class="theme-switcher-menu"><button aria-haspopup="menu" type="button" class="button action has-icon theme-switcher-menu small"><span class="button-wrap"><span class="icon icon-theme-os-default "></span>Theme</span></button></div><ul class="auth-container"><li><a href="https://developer.mozilla.org/users/fxa/login/authenticate/?next=%2Fen-US%2Fdocs%2FWeb%2FHTML%2FElement" class="signin-link" rel="nofollow">Already a subscriber?</a></li><li><a class="button primary mdn-plus-subscribe-link" href="https://developer.mozilla.org/en-US/plus"><span class="button-wrap">Get MDN Plus</span></a></li></ul></div></div></header><div class="article-actions-container"><div class="container"><button type="button" class="button action has-icon sidebar-button"><span class="button-wrap"><span class="icon icon-sidebar "></span></span></button><nav class="breadcrumbs-container" aria-label="Breadcrumb"><ol typeof="BreadcrumbList" vocab="https://schema.org/" aria-label="breadcrumbs"><li property="itemListElement" typeof="ListItem"><a class="breadcrumb" property="item" typeof="WebPage" href="https://developer.mozilla.org/en-US/docs/Web"><span property="name">References</span></a><meta property="position" content="1"></li><li property="itemListElement" typeof="ListItem"><a class="breadcrumb" property="item" typeof="WebPage" href="https://developer.mozilla.org/en-US/docs/Web/HTML"><span property="name">HTML</span></a><meta property="position" content="2"></li><li property="itemListElement" typeof="ListItem"><a class="breadcrumb-current-page" property="item" typeof="WebPage" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"><span property="name">Elements</span></a><meta property="position" content="3"></li></ol></nav><div class="article-actions"><button type="button" class="button action has-icon article-actions-toggle"><span class="button-wrap"><span class="icon icon-ellipses "></span><span class="article-actions-dialog-heading">Article Actions</span></span></button><ul class="article-actions-entries"><li class="article-actions-entry"><div class="languages-switcher-menu open-on-focus-within"><button aria-haspopup="menu" id="languages-switcher-button" type="button" class="button action small has-icon languages-switcher-menu"><span class="button-wrap"><span class="icon icon-language "></span>English (US)</span></button></div></li></ul></div></div></div></div><div class="main-wrapper"><aside id="sidebar-quicklinks" class="sidebar"><button type="button" class="button action backdrop"><span class="button-wrap"></span></button><nav class="sidebar-inner"><div class="in-nav-toc"><div class="document-toc-container"><section class="document-toc"><header><h2 class="document-toc-heading">In this article</h2></header><ul class="document-toc-list"><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#main_root">Main root</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#document_metadata">Document metadata</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#sectioning_root">Sectioning root</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#content_sectioning">Content sectioning</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#text_content">Text content</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#inline_text_semantics">Inline text semantics</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#image_and_multimedia">Image and multimedia</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#embedded_content">Embedded content</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#svg_and_mathml">SVG and MathML</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#scripting">Scripting</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#demarcating_edits">Demarcating edits</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#table_content">Table content</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#forms">Forms</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#interactive_elements">Interactive elements</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#web_components">Web Components</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#obsolete_and_deprecated_elements">Obsolete and deprecated elements</a></li></ul></section></div></div><h4 class="sidebar-heading">Related Topics</h4><div>
<ol>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML"><strong>HTML</strong></a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML"><strong>Tutorials:</strong></a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics">HTML basics</a></li>
<li class="toggle">
<details>
<summary>Introduction to HTML</summary>
<ol>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML">Introduction to HTML overview</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started">Getting started with HTML</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML">What's in the head? Metadata in HTML</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals">HTML text fundamentals</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks">Creating hyperlinks</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting">Advanced text formatting</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Document_and_website_structure">Document and website structure</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML">Debugging HTML</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter">Assessment: Marking up a letter</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content">Assessment: Structuring a page of content</a></li>
</ol>
</details>
</li>
<li class="toggle">
<details>
<summary>Multimedia and embedding</summary>
<ol>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding">Multimedia and embedding overview</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML">Images in HTML</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content">Video and audio content</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies">From object to iframe — other embedding technologies</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Adding_vector_graphics_to_the_Web">Adding vector graphics to the web</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images">Responsive images</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Mozilla_splash_page">Assessment: Mozilla splash page</a></li>
</ol>
</details>
</li>
<li class="toggle">
<details>
<summary>HTML tables</summary>
<ol>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Tables">HTML tables overview</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Tables/Basics">HTML table basics</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Tables/Advanced">HTML table advanced features and accessibility</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Tables/Structuring_planet_data">Assessment: Structuring planet data</a></li>
</ol>
</details>
</li>
<li><strong><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference">References:</a></strong></li>
<li class="toggle">
<details open="">
<summary>HTML elements</summary>
<ol><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a"><code><a></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr"><code><abbr></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym"><code><acronym></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address"><code><address></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/applet"><code><applet></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area"><code><area></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article"><code><article></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside"><code><aside></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio"><code><audio></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b"><code><b></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base"><code><base></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi"><code><bdi></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo"><code><bdo></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bgsound"><code><bgsound></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big"><code><big></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blink"><code><blink></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote"><code><blockquote></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body"><code><body></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br"><code><br></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"><code><button></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas"><code><canvas></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption"><code><caption></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center"><code><center></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite"><code><cite></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code"><code><code></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col"><code><col></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup"><code><colgroup></code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content"><code><content></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data"><code><data></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist"><code><datalist></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd"><code><dd></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del"><code><del></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details"><code><details></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn"><code><dfn></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog"><code><dialog></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dir"><code><dir></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"><code><div></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl"><code><dl></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt"><code><dt></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em"><code><em></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed"><code><embed></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset"><code><fieldset></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption"><code><figcaption></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure"><code><figure></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font"><code><font></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer"><code><footer></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form"><code><form></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame"><code><frame></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset"><code><frameset></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h1></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head"><code><head></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header"><code><header></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup"><code><hgroup></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr"><code><hr></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html"><code><html></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i"><code><i></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe"><code><iframe></code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/image"><code><image></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img"><code><img></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"><code><input></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins"><code><ins></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd"><code><kbd></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen"><code><keygen></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"><code><label></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend"><code><legend></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li"><code><li></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link"><code><link></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main"><code><main></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map"><code><map></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark"><code><mark></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee"><code><marquee></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu"><code><menu></code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem"><code><menuitem></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta"><code><meta></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter"><code><meter></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav"><code><nav></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nobr"><code><nobr></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noembed"><code><noembed></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noframes"><code><noframes></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript"><code><noscript></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object"><code><object></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol"><code><ol></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup"><code><optgroup></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option"><code><option></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output"><code><output></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p"><code><p></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param"><code><param></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture"><code><picture></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/plaintext"><code><plaintext></code></a></li><li><abbr class="icon icon-experimental" title="Experimental. Expect behavior to change in the future.">
<span class="visually-hidden">Experimental</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal"><code><portal></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre"><code><pre></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress"><code><progress></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q"><code><q></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rb"><code><rb></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp"><code><rp></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt"><code><rt></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc"><code><rtc></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby"><code><ruby></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s"><code><s></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp"><code><samp></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script"><code><script></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section"><code><section></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select"><code><select></code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/shadow"><code><shadow></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot"><code><slot></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small"><code><small></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source"><code><source></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/spacer"><code><spacer></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"><code><span></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike"><code><strike></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong"><code><strong></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style"><code><style></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub"><code><sub></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary"><code><summary></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup"><code><sup></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table"><code><table></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody"><code><tbody></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td"><code><td></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template"><code><template></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea"><code><textarea></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot"><code><tfoot></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th"><code><th></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead"><code><thead></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time"><code><time></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title"><code><title></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr"><code><tr></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track"><code><track></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt"><code><tt></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u"><code><u></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul"><code><ul></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var"><code><var></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video"><code><video></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr"><code><wbr></code></a></li><li><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp"><code><xmp></code></a></li></ol>
</details>
</li>
<li class="toggle">
<details>
<summary>Global attributes</summary>
<ol><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey"><code>accesskey</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize"><code>autocapitalize</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus"><code>autofocus</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class"><code>class</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable"><code>contenteditable</code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><abbr class="icon icon-deprecated" title="Deprecated. Not for use in new websites.">
<span class="visually-hidden">Deprecated</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu"><code>contextmenu</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*"><code>data-*</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir"><code>dir</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable"><code>draggable</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint"><code>enterkeyhint</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts"><code>exportparts</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden"><code>hidden</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id"><code>id</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert"><code>inert</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode"><code>inputmode</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/is"><code>is</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemid"><code>itemid</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemprop"><code>itemprop</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemref"><code>itemref</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemscope"><code>itemscope</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemtype"><code>itemtype</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang"><code>lang</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce"><code>nonce</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part"><code>part</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/slot"><code>slot</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck"><code>spellcheck</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style"><code>style</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex"><code>tabindex</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title"><code>title</code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate"><code>translate</code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/x-ms-acceleratorkey"><code>x-ms-acceleratorkey</code></a></li><li><abbr class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using.">
<span class="visually-hidden">Non-standard</span>
</abbr><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/x-ms-format-detection"><code>x-ms-format-detection</code></a></li></ol>
</details>
</li>
<li class="toggle">
<details>
<summary>Attributes</summary>
<ol>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept">accept</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete">autocomplete</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture">capture</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin">crossorigin</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled">disabled</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/elementtiming">elementtiming</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/for">for</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max">max</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength">maxlength</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min">min</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength">minlength</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple">multiple</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern">pattern</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly">readonly</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel">rel</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required">required</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size">size</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step">step</a></li>
</ol>
</details>
</li>
<li class="toggle">
<details>
<summary><code><input></code> types</summary>
<ol><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button"><code><input type="button"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox"><code><input type="checkbox"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color"><code><input type="color"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date"><code><input type="date"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local"><code><input type="datetime-local"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email"><code><input type="email"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file"><code><input type="file"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden"><code><input type="hidden"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image"><code><input type="image"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/month"><code><input type="month"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number"><code><input type="number"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password"><code><input type="password"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio"><code><input type="radio"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range"><code><input type="range"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/reset"><code><input type="reset"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search"><code><input type="search"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit"><code><input type="submit"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel"><code><input type="tel"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text"><code><input type="text"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time"><code><input type="time"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url"><code><input type="url"></code></a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/week"><code><input type="week"></code></a></li></ol>
</details>
</li>
<li><strong>Guides:</strong></li>
<li>
<ol>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories">Content categories</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements">Block-level elements</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements">Inline elements</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode">Quirks Mode and Standards Mode</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats">Date and time formats used in HTML</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Constraint_validation">Constraint validation</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Microdata">Microdata</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/microformats">Microformats</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag">Viewport meta tag</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image">Allowing cross-origin use of images and canvas</a></li>
</ol>
</li>
</ol>
</div></nav></aside><aside class="toc"><nav><div class="document-toc-container"><section class="document-toc"><header><h2 class="document-toc-heading">In this article</h2></header><ul class="document-toc-list"><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#main_root">Main root</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#document_metadata">Document metadata</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#sectioning_root">Sectioning root</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#content_sectioning">Content sectioning</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#text_content">Text content</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#inline_text_semantics">Inline text semantics</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#image_and_multimedia">Image and multimedia</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#embedded_content">Embedded content</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#svg_and_mathml">SVG and MathML</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#scripting">Scripting</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#demarcating_edits">Demarcating edits</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#table_content">Table content</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#forms">Forms</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#interactive_elements">Interactive elements</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#web_components">Web Components</a></li><li class="document-toc-item "><a class="document-toc-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#obsolete_and_deprecated_elements">Obsolete and deprecated elements</a></li></ul></section></div></nav></aside><main id="content" class="main-content "><article class="main-page-content" lang="en-US"><h1>HTML elements reference</h1><div class="section-content"><p>This page lists all the <a href="https://developer.mozilla.org/en-US/docs/Glossary/HTML">HTML</a> <a href="https://developer.mozilla.org/en-US/docs/Glossary/Element">elements</a>, which are created using <a href="https://developer.mozilla.org/en-US/docs/Glossary/Tag">tags</a>.</p>
<p>They are grouped by function to help you find what you have in mind easily. An alphabetical list of all elements is provided in the sidebar on every element's page as well as this one.</p>
<div class="notecard note" id="sect1">
<p><strong>Note:</strong> For more information about the basics of HTML elements and attributes, see <a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML#elements_%e2%80%94_the_basic_building_blocks">the section on elements in the Introduction to HTML article</a>.</p>
</div></div><section aria-labelledby="main_root"><h2 id="main_root"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#main_root">Main root</a></h2><div class="section-content"><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html"><code><html></code></a></td>
<td>The <strong><code><html></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents the root (top-level element) of an HTML document, so it is also referred to as the <em>root element</em>. All other elements must be descendants of this element.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="document_metadata"><h2 id="document_metadata"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#document_metadata">Document metadata</a></h2><div class="section-content"><p>Metadata contains information about the page. This includes information about styles, scripts and data to help software (<a href="https://developer.mozilla.org/en-US/docs/Glossary/Search_engine">search engines</a>, <a href="https://developer.mozilla.org/en-US/docs/Glossary/Browser">browsers</a>, etc.) use and render the page. Metadata for styles and scripts may be defined in the page or link to another file that has the information.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base"><code><base></code></a></td>
<td>The <strong><code><base></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies the base URL to use for all <em>relative</em> URLs in a document. There can be only one <code><base></code> element in a document.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head"><code><head></code></a></td>
<td>The <strong><code><head></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element contains machine-readable information (metadata) about the document, like its <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title">title</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script">scripts</a>, and <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style">style sheets</a>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link"><code><link></code></a></td>
<td>The <strong><code><link></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies relationships between the current document and an external resource.
This element is most commonly used to link to CSS, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta"><code><meta></code></a></td>
<td>The <strong><code><meta></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents Metadata that cannot be represented by other HTML meta-related elements, like <code>base</code>, <code>link</code>, <code>script</code>, <code>style</code> or <code>title</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style"><code><style></code></a></td>
<td>The <strong><code><style></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <code><style></code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title"><code><title></code></a></td>
<td>The <strong><code><title></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines the document's title that is shown in a Browser's title bar or a page's tab. It only contains text; tags within the element are ignored.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="sectioning_root"><h2 id="sectioning_root"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#sectioning_root">Sectioning root</a></h2><div class="section-content"><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body"><code><body></code></a></td>
<td>The <strong><code><body></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents the content of an HTML document. There can be only one <code><body></code> element in a document.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="content_sectioning"><h2 id="content_sectioning"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#content_sectioning">Content sectioning</a></h2><div class="section-content"><p>Content sectioning elements allow you to organize the document content into logical pieces. Use the sectioning elements to create a broad outline for your page content, including header and footer navigation, and heading elements to identify sections of content.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address"><code><address></code></a></td>
<td>The <strong><code><address></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article"><code><article></code></a></td>
<td>The <strong><code><article></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry, a product card, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside"><code><aside></code></a></td>
<td>The <strong><code><aside></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a portion of a document whose content is only indirectly related to the document's main content. Asides are frequently presented as sidebars or call-out boxes.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer"><code><footer></code></a></td>
<td>The <strong><code><footer></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a footer for its nearest ancestor <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#sectioning_content">sectioning content</a> or <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#sectioning_root">sectioning root</a> element. A <code><footer></code> typically contains information about the author of the section, copyright data or links to related documents.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header"><code><header></code></a></td>
<td>The <strong><code><header></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents introductory content, typically a group of introductory or navigational aids. It may contain some heading elements but also a logo, a search form, an author name, and other elements.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h1></code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h2></code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h3></code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h4></code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h5></code></a>, <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements"><code><h6></code></a></td>
<td>The <strong><code><h1></code></strong> to <strong><code><h6></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> elements represent six levels of section headings. <code><h1></code> is the highest section level and <code><h6></code> is the lowest.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main"><code><main></code></a></td>
<td>The <strong><code><main></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents the dominant content of the <code>body</code> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav"><code><nav></code></a></td>
<td>The <strong><code><nav></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section"><code><section></code></a></td>
<td>The <strong><code><section></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it. Sections should always have a heading, with very few exceptions.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="text_content"><h2 id="text_content"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#text_content">Text content</a></h2><div class="section-content"><p>Use HTML text content elements to organize blocks or sections of content placed between the opening <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body"><code><body></code></a> and closing <code></body></code> tags. Important for <a href="https://developer.mozilla.org/en-US/docs/Glossary/Accessibility">accessibility</a> and <a href="https://developer.mozilla.org/en-US/docs/Glossary/SEO">SEO</a>, these elements identify the purpose or structure of that content.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote"><code><blockquote></code></a></td>
<td>The <strong><code><blockquote></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#usage_notes">Notes</a> for how to change it). A URL for the source of the quotation may be given using the <code>cite</code> attribute, while a text representation of the source can be given using the <code>cite</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd"><code><dd></code></a></td>
<td>The <strong><code><dd></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element provides the description, definition, or value for the preceding term (<code>dt</code>) in a description list (<code>dl</code>).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"><code><div></code></a></td>
<td>The <strong><code><div></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is the generic container for flow content. It has no effect on the content or layout until styled in some way using CSS (e.g. styling is directly applied to it, or some kind of layout model like <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout">Flexbox</a> is applied to its parent element).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl"><code><dl></code></a></td>
<td>The <strong><code><dl></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a description list. The element encloses a list of groups of terms (specified using the <code>dt</code> element) and descriptions (provided by <code>dd</code> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt"><code><dt></code></a></td>
<td>The <strong><code><dt></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies a term in a description or definition list, and as such must be used inside a <code>dl</code> element. It is usually followed by a <code>dd</code> element; however, multiple <code><dt></code> elements in a row indicate several terms that are all defined by the immediate next <code>dd</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption"><code><figcaption></code></a></td>
<td>The <strong><code><figcaption></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a caption or legend describing the rest of the contents of its parent <code>figure</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure"><code><figure></code></a></td>
<td>The <strong><code><figure></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents self-contained content, potentially with an optional caption, which is specified using the <code>figcaption</code> element. The figure, its caption, and its contents are referenced as a single unit.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr"><code><hr></code></a></td>
<td>The <strong><code><hr></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li"><code><li></code></a></td>
<td>The <strong><code><li></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<code>ol</code>), an unordered list (<code>ul</code>), or a menu (<code>menu</code>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu"><code><menu></code></a></td>
<td>The <strong><code><menu></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is described in the HTML specification as a semantic alternative to <code>ul</code>, but treated by browsers (and exposed through the accessibility tree) as no different than <code>ul</code>. It represents an unordered list of items (which are represented by <code>li</code> elements).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol"><code><ol></code></a></td>
<td>The <strong><code><ol></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents an ordered list of items — typically rendered as a numbered list.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p"><code><p></code></a></td>
<td>The <strong><code><p></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines and/or first-line indentation, but HTML paragraphs can be any structural grouping of related content, such as images or form fields.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre"><code><pre></code></a></td>
<td>The <strong><code><pre></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or <a href="https://en.wikipedia.org/wiki/Monospaced_font" class="external" target="_blank">monospaced</a>, font. Whitespace inside this element is displayed as written.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul"><code><ul></code></a></td>
<td>The <strong><code><ul></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents an unordered list of items, typically rendered as a bulleted list.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="inline_text_semantics"><h2 id="inline_text_semantics"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#inline_text_semantics">Inline text semantics</a></h2><div class="section-content"><p>Use the HTML inline text semantic to define the meaning, structure, or style of a word, line, or any arbitrary piece of text.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a"><code><a></code></a></td>
<td>The <strong><code><a></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element (or <em>anchor</em> element), with <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#attr-href">its <code>href</code> attribute</a>, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr"><code><abbr></code></a></td>
<td>The <strong><code><abbr></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents an abbreviation or acronym.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b"><code><b></code></a></td>
<td>The <strong><code><b></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <code><b></code> for styling text; instead, you should use the CSS <code>font-weight</code> property to create boldface text, or the <code>strong</code> element to indicate that text is of special importance.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi"><code><bdi></code></a></td>
<td>The <strong><code><bdi></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element tells the browser's bidirectional algorithm to treat the text it contains in isolation from its surrounding text. It's particularly useful when a website dynamically inserts some text and doesn't know the directionality of the text being inserted.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo"><code><bdo></code></a></td>
<td>The <strong><code><bdo></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element overrides the current directionality of text, so that the text within is rendered in a different direction.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br"><code><br></code></a></td>
<td>The <strong><code><br></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite"><code><cite></code></a></td>
<td>The <strong><code><cite></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to describe a reference to a cited creative work, and must include the title of that work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code"><code><code></code></a></td>
<td>The <strong><code><code></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent default monospace font.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data"><code><data></code></a></td>
<td>The <strong><code><data></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the <code>time</code> element must be used.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn"><code><dfn></code></a></td>
<td>The <strong><code><dfn></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to indicate the term being defined within the context of a definition phrase or sentence. The <code>p</code> element, the <code>dt</code>/<code>dd</code> pairing, or the <code>section</code> element which is the nearest ancestor of the <code><dfn></code> is considered to be the definition of the term.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em"><code><em></code></a></td>
<td>The <strong><code><em></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element marks text that has stress emphasis. The <code><em></code> element can be nested, with each level of nesting indicating a greater degree of emphasis.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i"><code><i></code></a></td>
<td>The <strong><code><i></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others. Historically, these have been presented using italicized type, which is the original source of the <code><i></code> naming of this element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd"><code><kbd></code></a></td>
<td>The <strong><code><kbd></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device. By convention, the user agent defaults to rendering the contents of a <code><kbd></code> element using its default monospace font, although this is not mandated by the HTML standard.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark"><code><mark></code></a></td>
<td>The <strong><code><mark></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents text which is <strong>marked</strong> or <strong>highlighted</strong> for reference or notation purposes due to the marked passage's relevance in the enclosing context.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q"><code><q></code></a></td>
<td>The <strong><code><q></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <code>blockquote</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp"><code><rp></code></a></td>
<td>The <strong><code><rp></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <code>ruby</code> element. One <code><rp></code> element should enclose each of the opening and closing parentheses that wrap the <code>rt</code> element that contains the annotation's text.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt"><code><rt></code></a></td>
<td>The <strong><code><rt></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography. The <code><rt></code> element must always be contained within a <code>ruby</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby"><code><ruby></code></a></td>
<td>The <strong><code><ruby></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents small annotations that are rendered above, below, or next to base text, usually used for showing the pronunciation of East Asian characters. It can also be used for annotating other kinds of text, but this usage is less common.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s"><code><s></code></a></td>
<td>The <strong><code><s></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element renders text with a strikethrough, or a line through it. Use the <code><s></code> element to represent things that are no longer relevant or no longer accurate. However, <code><s></code> is not appropriate when indicating document edits; for that, use the <code>del</code> and <code>ins</code> elements, as appropriate.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp"><code><samp></code></a></td>
<td>The <strong><code><samp></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to enclose inline text which represents sample (or quoted) output from a computer program. Its contents are typically rendered using the browser's default monospaced font (such as <a href="https://en.wikipedia.org/wiki/Courier_(typeface)" class="external" target="_blank">Courier</a> or Lucida Console).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small"><code><small></code></a></td>
<td>The <strong><code><small></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents side-comments and small print, like copyright and legal text, independent of its styled presentation. By default, it renders text within it one font-size smaller, such as from <code>small</code> to <code>x-small</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"><code><span></code></a></td>
<td>The <strong><code><span></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the <code>class</code> or <code>id</code> attributes), or because they share attribute values, such as <code>lang</code>. It should be used only when no other semantic element is appropriate. <code><span></code> is very much like a <code>div</code> element, but <code>div</code> is a <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements">block-level element</a> whereas a <code><span></code> is an <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements">inline element</a>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong"><code><strong></code></a></td>
<td>The <strong><code><strong></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub"><code><sub></code></a></td>
<td>The <strong><code><sub></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup"><code><sup></code></a></td>
<td>The <strong><code><sup></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller text.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time"><code><time></code></a></td>
<td>The <strong><code><time></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a specific period in time. It may include the <code>datetime</code> attribute to translate dates into machine-readable format, allowing for better search engine results or custom features such as reminders.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u"><code><u></code></a></td>
<td>The <strong><code><u></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation. This is rendered by default as a simple solid underline, but may be altered using CSS.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var"><code><var></code></a></td>
<td>The <strong><code><var></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents the name of a variable in a mathematical expression or a programming context. It's typically presented using an italicized version of the current typeface, although that behavior is browser-dependent.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr"><code><wbr></code></a></td>
<td>The <strong><code><wbr></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a word break opportunity—a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="image_and_multimedia"><h2 id="image_and_multimedia"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#image_and_multimedia">Image and multimedia</a></h2><div class="section-content"><p>HTML supports various multimedia resources such as images, audio, and video.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area"><code><area></code></a></td>
<td>The <strong><code><area></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines an area inside an image map that has predefined clickable areas. An <em>image map</em> allows geometric areas on an image to be associated with Hyperlink.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio"><code><audio></code></a></td>
<td>The <strong><code><audio></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the <code>src</code> attribute or the <code>source</code> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a <code>MediaStream</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img"><code><img></code></a></td>
<td>The <strong><code><img></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element embeds an image into the document.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map"><code><map></code></a></td>
<td>The <strong><code><map></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used with <code>area</code> elements to define an image map (a clickable link area).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track"><code><track></code></a></td>
<td>The <strong><code><track></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used as a child of the media elements, <code>audio</code> and <code>video</code>. It lets you specify timed text tracks (or time-based data), for example to automatically handle subtitles. The tracks are formatted in <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API">WebVTT format</a> (<code>.vtt</code> files) — Web Video Text Tracks.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video"><code><video></code></a></td>
<td>The <strong><code><video></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element embeds a media player which supports video playback into the document. You can use <code><video></code> for audio content as well, but the <code>audio</code> element may provide a more appropriate user experience.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="embedded_content"><h2 id="embedded_content"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#embedded_content">Embedded content</a></h2><div class="section-content"><p>In addition to regular multimedia content, HTML can include a variety of other content, even if it's not always easy to interact with.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed"><code><embed></code></a></td>
<td>The <strong><code><embed></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element embeds external content at the specified point in the document. This content is provided by an external application or other source of interactive content such as a browser plug-in.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe"><code><iframe></code></a></td>
<td>The <strong><code><iframe></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a nested browsing context, embedding another HTML page into the current one.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object"><code><object></code></a></td>
<td>The <strong><code><object></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture"><code><picture></code></a></td>
<td>The <strong><code><picture></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element contains zero or more <code>source</code> elements and one <code>img</code> element to offer alternative versions of an image for different display/device scenarios.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal"><code><portal></code></a></td>
<td>The <strong><code><portal></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element enables the embedding of another HTML page into the current one for the purposes of allowing smoother navigation into new pages.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source"><code><source></code></a></td>
<td>The <strong><code><source></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies multiple media resources for the <code>picture</code>, the <code>audio</code> element, or the <code>video</code> element. It is a void element, meaning that it has no content and does not have a closing tag. It is commonly used to offer the same media content in multiple file formats in order to provide compatibility with a broad range of browsers given their differing support for <a href="https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types">image file formats</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/Media/Formats">media file formats</a>.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="svg_and_mathml"><h2 id="svg_and_mathml"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#svg_and_mathml">SVG and MathML</a></h2><div class="section-content"><p>You can embed <a href="https://developer.mozilla.org/en-US/docs/Web/SVG">SVG</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/MathML">MathML</a> content directly into HTML documents, using the <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg"><code><svg></code></a> and <code><a href="https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math" title="<math>"><math></a></code> elements.</p>
<figure class="table-container"><table class="no-markdown">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg"><code><svg></code></a></td>
<td>
The <code>svg</code> element is a container that defines a new
coordinate system and
<a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox">viewport</a>. It is used
as the outermost element of SVG documents, but it can also be used to
embed an SVG fragment inside an SVG or HTML document.
</td>
</tr>
<tr>
<td><code><a href="https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math" title="<math>"><math></a></code></td>
<td>
The top-level element in MathML is <code><math></code>. Every valid
MathML instance must be wrapped in <code><math></code> tags. In
addition you must not nest a second <code><math></code> element in
another, but you can have an arbitrary number of other child elements in
it.
</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="scripting"><h2 id="scripting"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#scripting">Scripting</a></h2><div class="section-content"><p>In order to create dynamic content and Web applications, HTML supports the use of scripting languages, most prominently JavaScript. Certain elements support this capability.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas"><code><canvas></code></a></td>
<td>Use the <strong>HTML <code><canvas></code> element</strong> with either the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API">canvas scripting API</a> or the <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API">WebGL API</a> to draw graphics and animations.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript"><code><noscript></code></a></td>
<td>The <strong><code><noscript></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script"><code><script></code></a></td>
<td>The <strong><code><script></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <code><script></code> element can also be used with other languages, such as <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API">WebGL</a>'s GLSL shader programming language and <a href="https://developer.mozilla.org/en-US/docs/Glossary/JSON">JSON</a>.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="demarcating_edits"><h2 id="demarcating_edits"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#demarcating_edits">Demarcating edits</a></h2><div class="section-content"><p>These elements let you provide indications that specific parts of the text have been altered.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del"><code><del></code></a></td>
<td>The <strong><code><del></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a range of text that has been deleted from a document. This can be used when rendering "track changes" or source code diff information, for example. The <code>ins</code> element can be used for the opposite purpose: to indicate text that has been added to the document.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins"><code><ins></code></a></td>
<td>The <strong><code><ins></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a range of text that has been added to a document. You can use the <code>del</code> element to similarly represent a range of text that has been deleted from the document.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="table_content"><h2 id="table_content"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#table_content">Table content</a></h2><div class="section-content"><p>The elements here are used to create and handle tabular data.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption"><code><caption></code></a></td>
<td>The <strong><code><caption></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies the caption (or title) of a table.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col"><code><col></code></a></td>
<td>The <strong><code><col></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <code>colgroup</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup"><code><colgroup></code></a></td>
<td>The <strong><code><colgroup></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a group of columns within a table.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table"><code><table></code></a></td>
<td>The <strong><code><table></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody"><code><tbody></code></a></td>
<td>The <strong><code><tbody></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element encapsulates a set of table rows (<code>tr</code> elements), indicating that they comprise the body of the table (<code>table</code>).</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td"><code><td></code></a></td>
<td>The <strong><code><td></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a cell of a table that contains data. It participates in the <em>table model</em>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot"><code><tfoot></code></a></td>
<td>The <strong><code><tfoot></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a set of rows summarizing the columns of the table.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th"><code><th></code></a></td>
<td>The <strong><code><th></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the <code>scope</code> and <code>headers</code> attributes.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead"><code><thead></code></a></td>
<td>The <strong><code><thead></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a set of rows defining the head of the columns of the table.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr"><code><tr></code></a></td>
<td>The <strong><code><tr></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a row of cells in a table. The row's cells can then be established using a mix of <code>td</code> (data cell) and <code>th</code> (header cell) elements.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="forms"><h2 id="forms"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#forms">Forms</a></h2><div class="section-content"><p>HTML provides a number of elements which can be used together to create forms which the user can fill out and submit to the website or application. There's a great deal of further information about this available in the <a href="https://developer.mozilla.org/en-US/docs/Learn/Forms">HTML forms guide</a>.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"><code><button></code></a></td>
<td>The <strong><code><button></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs an action, such as submitting a <a href="https://developer.mozilla.org/en-US/docs/Learn/Forms">form</a> or opening a dialog.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist"><code><datalist></code></a></td>
<td>The <strong><code><datalist></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element contains a set of <code>option</code> elements that represent the permissible or recommended options available to choose from within other controls.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset"><code><fieldset></code></a></td>
<td>The <strong><code><fieldset></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to group several controls as well as labels (<code>label</code>) within a web form.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form"><code><form></code></a></td>
<td>The <strong><code><form></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a document section containing interactive controls for submitting information.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"><code><input></code></a></td>
<td>The <strong><code><input></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The <code><input></code> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"><code><label></code></a></td>
<td>The <strong><code><label></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a caption for an item in a user interface.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend"><code><legend></code></a></td>
<td>The <strong><code><legend></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a caption for the content of its parent <code>fieldset</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter"><code><meter></code></a></td>
<td>The <strong><code><meter></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents either a scalar value within a known range or a fractional value.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup"><code><optgroup></code></a></td>
<td>The <strong><code><optgroup></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element creates a grouping of options within a <code>select</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option"><code><option></code></a></td>
<td>The <strong><code><option></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to define an item contained in a <code>select</code>, an <code>optgroup</code>, or a <code>datalist</code> element. As such, <code><option></code> can represent menu items in popups and other lists of items in an HTML document.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output"><code><output></code></a></td>
<td>The <strong><code><output></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress"><code><progress></code></a></td>
<td>The <strong><code><progress></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select"><code><select></code></a></td>
<td>The <strong><code><select></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a control that provides a menu of options.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea"><code><textarea></code></a></td>
<td>The <strong><code><textarea></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> 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.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="interactive_elements"><h2 id="interactive_elements"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#interactive_elements">Interactive elements</a></h2><div class="section-content"><p>HTML offers a selection of elements which help to create interactive user interface objects.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details"><code><details></code></a></td>
<td>The <strong><code><details></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label must be provided using the <code>summary</code> element.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog"><code><dialog></code></a></td>
<td>The <strong><code><dialog></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element represents a dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary"><code><summary></code></a></td>
<td>The <strong><code><summary></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element specifies a summary, caption, or legend for a <code>details</code> element's disclosure box. Clicking the <code><summary></code> element toggles the state of the parent <code><details></code> element open and closed.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="web_components"><h2 id="web_components"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#web_components">Web Components</a></h2><div class="section-content"><p>Web Components is an HTML-related technology which makes it possible to, essentially, create and use custom elements as if it were regular HTML. In addition, you can create custom versions of standard HTML elements.</p><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot"><code><slot></code></a></td>
<td>The <strong><code><slot></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element—part of the <a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components">Web Components</a> technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template"><code><template></code></a></td>
<td>The <strong><code><template></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript.</td>
</tr>
</tbody>
</table></figure></div></section><section aria-labelledby="obsolete_and_deprecated_elements"><h2 id="obsolete_and_deprecated_elements"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element#obsolete_and_deprecated_elements">Obsolete and deprecated elements</a></h2><div class="section-content"><div class="notecard warning" id="sect2">
<p><strong>Warning:</strong> These are old HTML elements which are deprecated and should not be used. <strong>You should never use them in new projects, and you should replace them in old projects as soon as you can.</strong> They are listed here for completeness only.</p>
</div><figure class="table-container"><table class="standard-table">
<thead>
<tr>
<th scope="col">Element</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym"><code><acronym></code></a></td>
<td>The <strong><code><acronym></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/applet"><code><applet></code></a></td>
<td>The obsolete <strong>HTML Applet Element</strong> (<strong><code><applet></code></strong>) embeds a Java applet into the document; this element has been deprecated in favor of <code>object</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bgsound"><code><bgsound></code></a></td>
<td>The <strong><code><bgsound></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is deprecated. It sets up a sound file to play in the background while the page is used; use <code>audio</code> instead.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big"><code><big></code></a></td>
<td>The <strong><code><big></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> deprecated element renders the enclosed text at a font size one level larger than the surrounding text (<code>medium</code> becomes <code>large</code>, for example). The size is capped at the browser's maximum permitted font size.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blink"><code><blink></code></a></td>
<td>The <strong><code><blink></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is a non-standard element which causes the enclosed text to flash slowly.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center"><code><center></code></a></td>
<td>The <strong><code><center></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is a <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements">block-level element</a> that displays its block-level or inline contents centered horizontally within its containing element. The container is usually, but isn't required to be, <code>body</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content"><code><content></code></a></td>
<td>The <strong><code><content></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element—an obsolete part of the <a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components">Web Components</a> suite of technologies—was used inside of <a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM">Shadow DOM</a> as an insertion point, and wasn't meant to be used in ordinary HTML. It has now been replaced by the <code>slot</code> element, which creates a point in the DOM at which a shadow DOM can be inserted.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dir"><code><dir></code></a></td>
<td>The <strong><code><dir></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used as a container for a directory of files and/or folders, potentially with styles and icons applied by the user agent. Do not use this obsolete element; instead, you should use the <code>ul</code> element for lists, including lists of files.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font"><code><font></code></a></td>
<td>The <strong><code><font></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines the font size, color and face for its content.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame"><code><frame></code></a></td>
<td>The <strong><code><frame></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element defines a particular area in which another HTML document can be displayed. A frame should be used within a <code>frameset</code>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset"><code><frameset></code></a></td>
<td>The <strong><code><frameset></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is used to contain <code>frame</code> elements.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/image"><code><image></code></a></td>
<td>The <strong><code><image></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element is an ancient and poorly supported precursor to the <code>img</code> element.
<strong>It should not be used</strong>.</td>
</tr>
<tr>
<td style="vertical-align: top;"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen"><code><keygen></code></a></td>
<td>The <strong><code><keygen></code></strong> <a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a> element exists to facilitate generation of key material, and submission of the public key as part of an <a href="https://developer.mozilla.org/en-US/docs/Learn/Forms">HTML form</a>. This mechanism is designed for use with Web-based certificate management systems. It is expected that the <code><keygen></code> element will be used in an HTML form along with other information needed to construct a certificate request, and that the result of the process will be a signed certificate.</td>
</tr>
<tr>