Tables of HTML Elements Scraped from MDN

Information in the below tables was scraped from HTML elements reference page on Mozilla Developer Network (MDN) .

Currently Supported HTML Elements

Current HTML Elements
Element Summary Specification Content categories Permitted content Tag omission Permitted parents Implicit ARIA role Permitted ARIA roles DOM interface Events
a

The <a> HTML element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.

Content within each <a> should indicate the link's destination. If the href attribute is present, pressing the enter key while focused on the <a> element will activate it.

HTML Standard
# the-a-element
Flow content, phrasing content, interactive content, palpable content. Transparent, except that no descendant may be interactive content or an a element, and no descendant may have a specified tabindex attribute. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content, or any element that accepts flow content, but not other <a> elements. link when href attribute is present, otherwise no corresponding role

When href attribute is present:

When href attribute is not present:

  • any
HTMLAnchorElement
abbr

The <abbr> HTML element represents an abbreviation or acronym.

When including an abbreviation or acronym, provide a full expansion of the term in plain text on first use, along with the <abbr> to mark up the abbreviation. This informs the user what the abbreviation or acronym means.

The optional title attribute can provide an expansion for the abbreviation or acronym when a full expansion is not present. This provides a hint to user agents on how to announce/display the content while informing all users what the abbreviation means. If present, title must contain this full description and nothing else.

HTML Standard
# the-abbr-element
Flow content, phrasing content, palpable content Phrasing content None, both the starting and ending tag are mandatory. Any element that accepts phrasing content No corresponding role Any HTMLElement
address

The <address> HTML element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.

HTML Standard
# the-address-element
Flow content, palpable content. Flow content, but with no nested <address> element, no heading content (<hgroup>, h1, h2, h3, h4, h5, h6), no sectioning content (<article>, <aside>, <section>, <nav>), and no <header> or <footer> element. None, both the starting and ending tag are mandatory. Any element that accepts flow content, but always excluding <address> elements (according to the logical principle of symmetry, if <address> tag, as a parent, can not have nested <address> element, then the same <address> content can not have <address> tag as its parent). No corresponding role Any HTMLElement Prior to Gecko 2.0 (Firefox 4), Gecko implemented this element using the HTMLSpanElement interface
area

The <area> HTML element defines an area inside an image map that has predefined clickable areas. An image map allows geometric areas on an image to be associated with hypertext links.

This element is used only within a <map> element.

HTML Standard
# the-area-element
Flow content, phrasing content. None; it is a void element. Must have a start tag and must not have an end tag. Any element that accepts phrasing content. The <area> element must have an ancestor <map>, but it need not be a direct parent. link when href attribute is present, otherwise no corresponding role No role permitted HTMLAreaElement
article

The <article> HTML 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.

HTML Standard
# the-article-element
Flow content, sectioning content, palpable content Flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. Note that an <article> element must not be a descendant of an <address> element. article application, document, feed, main, none, presentation, region HTMLElement
aside

The <aside> HTML 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.

HTML Standard
# the-aside-element
Flow content, sectioning content, palpable content. Flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. Note that an <aside> element must not be a descendant of an <address> element. complementary feed, none, note, presentation, region, search HTMLElement
audio

The <audio> HTML element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.

HTML Standard
# the-audio-element
Flow content, phrasing content, embedded content. If it has a controls attribute: interactive content and palpable content. If the element has a src attribute: zero or more <track> elements followed by transparent content that contains no <audio> or <video> media elements.
Else: zero or more <source> elements followed by zero or more <track> elements followed by transparent content that contains no <audio> or <video> media elements.
None, both the starting and ending tag are mandatory. Any element that accepts embedded content. No corresponding role application HTMLAudioElement
b

The <b> HTML 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 <b> for styling text or granting importance. If you wish to create boldface text, you should use the CSS font-weight property. If you wish to indicate an element is of special importance, you should use the <strong> element.

HTML Standard
# the-b-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
base

The <base> HTML element specifies the base URL to use for all relative URLs in a document. There can be only one <base> element in a document.

A document's used base URL can be accessed by scripts with Node.baseURI. If the document has no <base> elements, then baseURI defaults to location.href.

HTML Standard
# the-base-element
Metadata content. None; it is a void element. There must be no closing tag. A <head> that doesn't contain another <base> element. No corresponding role No role permitted HTMLBaseElement
bdi

The <bdi> HTML 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.

HTML Standard
# the-bdi-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
bdo

The <bdo> HTML element overrides the current directionality of text, so that the text within is rendered in a different direction.

HTML Standard
# the-bdo-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.
blockquote

The <blockquote> HTML element indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

HTML Standard
# the-blockquote-element
Flow content, sectioning root, palpable content. Flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. No corresponding role Any HTMLQuoteElement
body

The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document.

HTML Standard
# the-body-element
None. Flow content. The start tag may be omitted if the first thing inside it is not a space character, comment, <script> element or <style> element. The end tag may be omitted if the <body> element has contents or has a start tag, and is not immediately followed by a comment. It must be the second element of an <html> element. generic No role permitted HTMLBodyElement
br

The <br> HTML 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.

HTML Standard
# the-br-element
Flow content, phrasing content. None; it is a void element. Must have a start tag, and must not have an end tag. In XHTML documents, write this element as <br />. Any element that accepts phrasing content. No corresponding role none, presentation HTMLBRElement
button

The <button> HTML 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 form or opening a dialog.

By default, HTML buttons are presented in a style resembling the platform the user agent runs on, but you can change buttons' appearance with CSS.

HTML Standard
# the-button-element
Flow content, phrasing content, Interactive content, listed, labelable, and submittable form-associated element, palpable content. Phrasing content but there must be no Interactive content None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. button checkbox, combobox, link, menuitem, menuitemcheckbox, menuitemradio, option, radio, switch, tab HTMLButtonElement
canvas

Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.

HTML Standard
# the-canvas-element
Flow content, phrasing content, embedded content, palpable content. Transparent but with no interactive content descendants except for <a> elements, <button> elements, <input> elements whose type attribute is checkbox, radio, or button. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLCanvasElement
caption

The <caption> HTML element specifies the caption (or title) of a table.

HTML Standard
# the-caption-element
None. Flow content. The end tag can be omitted if the element is not immediately followed by ASCII whitespace or a comment. A <table> element, as its first descendant. caption No role permitted HTMLTableCaptionElement
cite

The <cite> HTML element is used to mark up the title of a cited creative work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.

HTML Standard
# the-cite-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.
code

The <code> HTML 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's default monospace font.

HTML Standard
# the-code-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.
col

The <col> HTML element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.

HTML Standard
# the-col-element
None. None; it is a void element. It must have start tag, but must not have an end tag. <colgroup> only, though it can be implicitly defined as its start tag is not mandatory. The <colgroup> must not have a span attribute. No corresponding role No role permitted HTMLTableColElement
colgroup

The <colgroup> HTML element defines a group of columns within a table.

HTML Standard
# the-colgroup-element
None. If the span attribute is present: none.
If the attribute is not present: zero or more <col> element
The start tag may be omitted, if it has a <col> element as its first child and if it is not preceded by a <colgroup> whose end tag has been omitted.
The end tag may be omitted, if it is not followed by a space or a comment.
A <table> element. The <colgroup> must appear after any optional <caption> element but before any <thead>, <th>, <tbody>, <tfoot> and <tr> element. No corresponding role No role permitted HTMLTableColElement
data

The <data> HTML element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the <time> element must be used.

HTML Standard
# the-data-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLDataElement
datalist

The <datalist> HTML element contains a set of <option> elements that represent the permissible or recommended options available to choose from within other controls.

HTML Standard
# the-datalist-element
Flow content, phrasing content. Either phrasing content or zero or more <option> elements. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. listbox No role permitted HTMLDataListElement
dd

The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).

HTML Standard
# the-dd-element
None. Flow content. The start tag is required. The end tag may be omitted if this element is immediately followed by another <dd> element or a <dt> element, or if there is no more content in the parent element. A <dl> or a <div> that is a child of a <dl>.
This element can be used after a <dt> or another <dd> element.
definition No role permitted HTMLElement
del

The <del> HTML 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 <ins> element can be used for the opposite purpose: to indicate text that has been added to the document.

HTML Standard
# the-del-element
Phrasing content, flow content. Transparent. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLModElement
details

The <details> HTML 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 <summary> element.

A disclosure widget is typically presented onscreen using a small triangle which rotates (or twists) to indicate open/closed status, with a label next to the triangle. The contents of the <summary> element are used as the label for the disclosure widget.

HTML Standard
# the-details-element
Flow content, sectioning root, interactive content, palpable content. One <summary> element followed by flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. group No role permitted HTMLDetailsElement
dfn

The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence. The ancestor <p> element, the <dt>/<dd> pairing, or the nearest <section> ancestor of the <dfn> element, is considered to be the definition of the term.

HTML Standard
# the-dfn-element
Flow content, phrasing content, palpable content. Phrasing content, but no <dfn> element must be a descendant. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. term Any HTMLElement
dialog

The <dialog> HTML element represents a modal or non-modal dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.

The HTML <dialog> element is used to create both modal and non-modal dialog boxes. Modal dialog boxes interrupt interaction with the rest of the page being inert, while non-modal dialog boxes allow interaction with the rest of the page.

JavaScript should be used to display the <dialog> element. Use the .showModal() method to display a modal dialog and the .show() method to display a non-modal dialog. The dialog box can be closed using the .close() method or using the dialog method when submitting a <form> that is nested within the <dialog> element. Modal dialogs can also be closed by pressing the Esc key.

HTML Standard
# the-dialog-element
Flow content, sectioning root Flow content None, both the starting and ending tag are mandatory. Any element that accepts flow content dialog alertdialog HTMLDialogElement
div

The <div> HTML 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 Flexbox is applied to its parent element).

HTML Standard
# the-div-element
Flow content, palpable content. Flow content.
Or (in WHATWG HTML): If the parent is a <dl> element: one or more <dt> elements followed by one or more <dd> elements, optionally intermixed with <script> and <template> elements.
None, both the starting and ending tag are mandatory. Any element that accepts flow content.
Or (in WHATWG HTML): <dl> element.
No corresponding role Any HTMLDivElement
dl

The <dl> HTML element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).

HTML Standard
# the-dl-element
Flow content, and if the <dl> element's children include one name-value group, palpable content.

Either: Zero or more groups each consisting of one or more <dt> elements followed by one or more <dd> elements, optionally intermixed with <script> and <template> elements.
Or: (in WHATWG HTML, W3C HTML 5.2 and later) One or more <div> elements, optionally intermixed with <script> and <template> elements.

None, both the starting and ending tag are mandatory. Any element that accepts flow content. No corresponding role group, list, none, presentation HTMLDListElement
dt

The <dt> HTML element specifies a term in a description or definition list, and as such must be used inside a <dl> element. It is usually followed by a <dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next <dd> element.

The subsequent <dd> (Description Details) element provides the definition or other related text associated with the term specified using <dt>.

HTML Standard
# the-dt-element
None. Flow content, but with no <header>, <footer>, sectioning content or heading content descendants. The start tag is required. The end tag may be omitted if this element is immediately followed by another <dt> element or a <dd> element, or if there is no more content in the parent element. A <dl> or (in WHATWG HTML, W3C HTML 5.2 and later) a <div> that is a child of a <dl>.
This element can be used before a <dd> or another <dt> element.
term listitem HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.
em

The <em> HTML element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.

HTML Standard
# the-em-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.
embed

The <embed> HTML 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.

HTML Standard
# the-embed-element
Flow content, phrasing content, embedded content, interactive content, palpable content. None; it is a void element. Must have a start tag, and must not have an end tag. Any element that accepts embedded content. No corresponding role application, document, img, none, presentation HTMLEmbedElement
fieldset

The <fieldset> HTML element is used to group several controls as well as labels (<label>) within a web form.

HTML Standard
# the-fieldset-element
Flow content, sectioning root, listed, form-associated element, palpable content. An optional <legend> element, followed by flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. group radiogroup, presentation, none HTMLFieldSetElement
figcaption

The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element.

HTML Standard
# the-figcaption-element
None. Flow content. None, both the starting and ending tag are mandatory. A <figure> element; the <figcaption> element must be its first or last child. No corresponding role group, none, presentation HTMLElement
figure

The <figure> HTML element represents self-contained content, potentially with an optional caption, which is specified using the <figcaption> element. The figure, its caption, and its contents are referenced as a single unit.

HTML Standard
# the-figure-element
Flow content, palpable content. A <figcaption> element, followed by flow content; or flow content followed by a <figcaption> element; or flow content. None, both the starting and ending tag are mandatory. Any element that accepts Flow content. figure With no figcaption descendant: any, otherwise no permitted roles HTMLElement
footer

The <footer> HTML element represents a footer for its nearest ancestor sectioning content or sectioning root element. A <footer> typically contains information about the author of the section, copyright data or links to related documents.

HTML Standard
# the-footer-element
Flow content, palpable content. Flow content, but with no <footer> or <header> descendants. None, both the starting and ending tag are mandatory. Any element that accepts flow content. Note that a <footer> element must not be a descendant of an <address>, <header> or another <footer> element. contentinfo, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region group, presentation or none HTMLElement
form

The <form> HTML element represents a document section containing interactive controls for submitting information.

HTML Standard
# the-form-element
Flow content, palpable content Flow content, but not containing <form> elements None, both the starting and ending tag are mandatory. Any element that accepts flow content form if the form has an accessible name, otherwise no corresponding role search, none or presentation HTMLFormElement
head

The <head> HTML element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets.

HTML Standard
# the-head-element
None.

If the document is an <iframe> srcdoc document, or if title information is available from a higher level protocol (like the subject line in HTML email), zero or more elements of metadata content.

Otherwise, one or more elements of metadata content where exactly one is a <title> element.

The start tag may be omitted if the first thing inside the <head> element is an element.
The end tag may be omitted if the first thing following the <head> element is not a space character or a comment.
An <html> element, as its first child. No corresponding role No role permitted HTMLHeadElement
header

The <header> HTML 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.

HTML Standard
# the-header-element
Flow content, palpable content. Flow content, but with no <header> or <footer> descendant. None, both the starting and ending tag are mandatory. Any element that accepts flow content. Note that a <header> element must not be a descendant of an <address>, <footer> or another <header> element. banner, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region group, presentation or none HTMLElement
heading_elements

The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. By default, all heading elements create a block-level box in the layout, starting on a new line and taking up the full width available in their containing block.

HTML Standard
# the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
Flow content, heading content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. heading tab, presentation or none HTMLHeadingElement
hgroup

The <hgroup> HTML element represents a heading and related content. It groups a single <h1>–<h6> element with one or more <p>.

HTML Standard
# the-hgroup-element
Flow content, heading content, palpable content. Zero or more <p> elements, followed by one h1, h2, h3, h4, h5, or h6 element, followed by zero or more <p> elements. None, both the starting and ending tag are mandatory. Any element that accepts flow content. No corresponding role Any HTMLElement
hr

The <hr> HTML 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.

HTML Standard
# the-hr-element
Flow content. None; it is a void element. It must have start tag, but must not have an end tag. Any element that accepts flow content. separator presentation or none HTMLHRElement
html

The <html> HTML element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.

HTML Standard
# the-html-element
None. One <head> element, followed by one <body> element. The start tag may be omitted if the first thing inside the <html> element is not a comment.
The end tag may be omitted if the <html> element is not immediately followed by a comment.
None. This is the root element of a document. document No role permitted HTMLHtmlElement
i

The <i> HTML 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 <i> naming of this element.

HTML Standard
# the-i-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
iframe

The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.

HTML Standard
# the-iframe-element
Flow content, phrasing content, embedded content, interactive content, palpable content. None. None, both the starting and ending tag are mandatory. Any element that accepts embedded content. No corresponding role application, document, img, none, presentation HTMLIFrameElement
img

The <img> HTML element embeds an image into the document.

HTML Standard
# the-img-element
Flow content, phrasing content, embedded content, palpable content. If the element has a usemap attribute, it also is a part of the interactive content category. None; it is a void element. Must have a start tag and must not have an end tag. Any element that accepts embedded content.
  • with non-empty alt attribute or no alt attribute: img
  • with empty alt attribute: presentation
HTMLImageElement
input

The <input> HTML 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 <input> 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.

HTML Standard
# the-input-element
Flow content, listed, submittable, resettable, form-associated element, phrasing content. If the type is not hidden, then labelable element, palpable content. None; it is a void element. Must have a start tag and must not have an end tag. Any element that accepts phrasing content. HTMLInputElement
ins

The <ins> HTML element represents a range of text that has been added to a document. You can use the <del> element to similarly represent a range of text that has been deleted from the document.

HTML Standard
# the-ins-element
Phrasing content, flow content. Transparent. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLModElement
kbd

The <kbd> HTML 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 <kbd> element using its default monospace font, although this is not mandated by the HTML standard.

HTML Standard
# the-kbd-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
label

The <label> HTML element represents a caption for an item in a user interface.

HTML Standard
# the-label-element
Flow content, phrasing content, interactive content, form-associated element, palpable content. Phrasing content, but no descendant label elements. No labelable elements other than the labeled control are allowed. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role No role permitted HTMLLabelElement
legend

The <legend> HTML element represents a caption for the content of its parent <fieldset>.

HTML Standard
# the-legend-element
None. Phrasing content and headings (h1–h6 elements). None, both the starting and ending tag are mandatory. A <fieldset> whose first child is this <legend> element No corresponding role No role permitted HTMLLegendElement
li

The <li> HTML element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). 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.

HTML Standard
# the-li-element
None. Flow content. The end tag can be omitted if the list item is immediately followed by another <li> element, or if there is no more content in its parent element. An <ul>, <ol>, or <menu> element. Though not a conforming usage, the obsolete <dir> can also be a parent. listitem when child of an ol, ul or menu menuitem, menuitemcheckbox, menuitemradio, option, none, presentation, radio, separator, tab, treeitem HTMLLIElement
link

The <link> HTML element specifies relationships between the current document and an external resource. This element is most commonly used to link to stylesheets, 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.

HTML Standard
# the-link-element
Metadata content. If itemprop is present: Flow content and phrasing content. None; it is a void element. As it is a void element, the start tag must be present and the end tag must not be present Any element that accepts metadata elements. If itemprop is present: any element that accepts phrasing content. link with href attribute No role permitted HTMLLinkElement
main

The <main> HTML element represents the dominant content of the <body> 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.

HTML Standard
# the-main-element
Flow content, palpable content. Flow content. None; both the starting and ending tags are mandatory. Where flow content is expected, but only if it is a hierarchically correct main element. main No role permitted HTMLElement
map

The <map> HTML element is used with <area> elements to define an image map (a clickable link area).

HTML Standard
# the-map-element
Flow content, phrasing content, palpable content. Any transparent element. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role No role permitted HTMLMapElement
mark

The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes due to the marked passage's relevance in the enclosing context.

HTML Standard
# the-mark-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
menu

The <menu> HTML element is described in the HTML specification as a semantic alternative to <ul>, but treated by browsers (and exposed through the accessibility tree) as no different than <ul>. It represents an unordered list of items (which are represented by <li> elements).

HTML Standard
# the-menu-element

Flow content. If the element's children include at least one <li> element: Palpable content.

Zero or more occurrences of <li>, <script>, and <template>.

None, both the starting and ending tag are mandatory. Any element that accepts flow content. list directory, group, listbox, menu, menubar, none, presentation, radiogroup, tablist, toolbar or tree HTMLMenuElement
meta

The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.

HTML Standard
# the-meta-element
Metadata content. If the itemprop attribute is present: flow content, phrasing content. None; it is a void element. As it is a void element, the start tag must be present and the end tag must not be present. No corresponding role No role permitted HTMLMetaElement
meter

The <meter> HTML element represents either a scalar value within a known range or a fractional value.

HTML Standard
# the-meter-element
Flow content, phrasing content, labelable content, palpable content. Phrasing content, but there must be no <meter> element among its descendants. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role No role permitted HTMLMeterElement
nav

The <nav> HTML 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.

HTML Standard
# the-nav-element
Flow content, sectioning content, palpable content. Flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. navigation No role permitted HTMLElement
noscript

The <noscript> HTML 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.

HTML Standard
# the-noscript-element
Metadata content, flow content, phrasing content. When scripting is disabled and when it is a descendant of the <head> element: in any order, zero or more <link> elements, zero or more <style> elements, and zero or more <meta> elements.
When scripting is disabled and when it isn't a descendant of the <head> element: any transparent content, but no <noscript> element must be among its descendants.
Otherwise: flow content or phrasing content.
None, both the starting and ending tag are mandatory. Any element that accepts phrasing content, if there are no ancestor <noscript> element, or in a <head> element (but only for an HTML document), here again if there are no ancestor <noscript> element. No corresponding role No role permitted HTMLElement
object

The <object> HTML 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.

HTML Standard
# the-object-element
Flow content; phrasing content; embedded content, palpable content; if the element has a usemap attribute, interactive content; listed, submittable form-associated element. zero or more <param> elements, then transparent. None, both the starting and ending tag are mandatory. Any element that accepts embedded content. No corresponding role application, document, img HTMLObjectElement
ol

The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.

HTML Standard
# the-ol-element
Flow content, and if the <ol> element's children include at least one <li> element, palpable content. Zero or more <li>, <script> and <template> elements. None, both the starting and ending tag are mandatory. Any element that accepts flow content. list directory, group, listbox, menu, menubar, none, presentation, radiogroup, tablist, toolbar, tree HTMLOListElement
optgroup

The <optgroup> HTML element creates a grouping of options within a <select> element.

HTML Standard
# the-optgroup-element
None. Zero or more <option> elements. The start tag is mandatory. The end tag is optional if this element is immediately followed by another <optgroup> element, or if the parent element has no more content. A <select> element. group No role permitted HTMLOptGroupElement
option

The <option> HTML element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.

HTML Standard
# the-option-element
None. Text, possibly with escaped characters (like &eacute;). The start tag is mandatory. The end tag is optional if this element is immediately followed by another <option> element or an <optgroup>, or if the parent element has no more content. A <select>, an <optgroup> or a <datalist> element. option No role permitted HTMLOptionElement
output

The <output> HTML 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.

HTML Standard
# the-output-element
Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. status Any HTMLOutputElement
p

The <p> HTML 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.

Paragraphs are block-level elements, and notably will automatically close if another block-level element is parsed before the closing </p> tag. See "Tag omission" below.

HTML Standard
# the-p-element
Flow content, palpable content. Phrasing content. The start tag is required. The end tag may be omitted if the <p> element is immediately followed by an <address>, <article>, <aside>, <blockquote>, <div>, <dl>, <fieldset>, <footer>, <form>, h1, h2, h3, h4, h5, h6, <header>, <hr>, <menu>, <nav>, <ol>, <pre>, <section>, <table>, <ul> or another <p> element, or if there is no more content in the parent element and the parent element is not an <a> element. Any element that accepts flow content. paragraph Any HTMLParagraphElement
picture

The <picture> HTML element contains zero or more <source> elements and one <img> element to offer alternative versions of an image for different display/device scenarios.

The browser will consider each child <source> element and choose the best match among them. If no matches are found—or the browser doesn't support the <picture> element—the URL of the <img> element's src attribute is selected. The selected image is then presented in the space occupied by the <img> element.

HTML Standard
# the-picture-element
Flow content, phrasing content, embedded content Zero or more <source> elements, followed by one <img> element, optionally intermixed with script-supporting elements. None, both the starting and ending tag are mandatory. Any element that allows embedded content. No corresponding role No role permitted HTMLPictureElement
portal

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Portals
# the-portal-element
button HTMLPortalElement
pre

The <pre> HTML 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 monospaced, font. Whitespace inside this element is displayed as written.

HTML Standard
# the-pre-element
Flow content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. No corresponding role Any HTMLPreElement
progress

The <progress> HTML element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

HTML Standard
# the-progress-element
Flow content, phrasing content, labelable content, palpable content. Phrasing content, but there must be no <progress> element among its descendants. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. progressbar No role permitted HTMLProgressElement
q

The <q> HTML 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 <blockquote> element.

HTML Standard
# the-q-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLQuoteElement
rp

The <rp> HTML element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element. One <rp> element should enclose each of the opening and closing parentheses that wrap the <rt> element that contains the annotation's text.

HTML Standard
# the-rp-element
None. Text The end tag can be omitted if the element is immediately followed by an <rt> or another <rp> element, or if there is no more content in the parent element. A <ruby> element. <rp> must be positioned immediately before or after an <rt> element. No corresponding role Any HTMLElement
rt

The <rt> HTML 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 <rt> element must always be contained within a <ruby> element.

HTML Standard
# the-rt-element
None. Phrasing content. The end tag may be omitted if the <rt> element is immediately followed by an <rt> or <rp> element, or if there is no more content in the parent element A <ruby> element. No corresponding role Any HTMLElement
ruby

The <ruby> HTML 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.

The term ruby originated as a unit of measurement used by typesetters, representing the smallest size that text can be printed on newsprint while remaining legible.

HTML Standard
# the-ruby-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
s

The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate.

HTML Standard
# the-s-element
Phrasing content, flow content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
samp

The <samp> HTML 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 Courier or Lucida Console).

HTML Standard
# the-samp-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
script

The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as WebGL's GLSL shader programming language and JSON.

HTML Standard
# the-script-element
Metadata content, Flow content, Phrasing content. Dynamic script such as text/javascript. None, both the starting and ending tag are mandatory. Any element that accepts metadata content, or any element that accepts phrasing content. No corresponding role No role permitted HTMLScriptElement
search

The <search> HTML element is a container representing the parts of the document or application with form controls or other content related to performing a search or filtering operation. The <search> element semantically identifies the purpose of the element's contents as having search or filtering capabilities. The search or filtering functionality can be for the website or application, the current web page or document, or the entire Internet or subsection thereof.

HTML Standard
# the-search-element
Flow content, palpable content. Flow content. None, both the starting and ending tag are mandatory. search form, group, none, presentation, region, search HTMLElement
section

The <section> HTML 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.

HTML Standard
# the-section-element
Flow content, Sectioning content, palpable content. Flow content. None, both the starting and ending tag are mandatory. Any element that accepts flow content. Note that a <section> element must not be a descendant of an <address> element. region if the element has an accessible name, otherwise no corresponding role alert, alertdialog, application, banner, complementary, contentinfo, dialog, document, feed, log, main, marquee, navigation, none, note, presentation, search, status, tabpanel HTMLElement
select

The <select> HTML element represents a control that provides a menu of options.

HTML Standard
# the-select-element
Flow content, phrasing content, interactive content, listed, labelable, resettable, and submittable form-associated element Zero or more <option> or <optgroup> elements. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. combobox with no multiple attribute and no size attribute greater than 1, otherwise listbox menu with no multiple attribute and no size attribute greater than 1, otherwise no role permitted HTMLSelectElement
slot

The <slot> HTML element—part of the Web Components 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.

HTML Standard
# the-slot-element
Flow content, phrasing content Transparent None, both the starting and ending tag are mandatory. Any element that accepts phrasing content No corresponding role No role permitted HTMLSlotElement slotchange
small

The <small> HTML 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 small to x-small.

HTML Standard
# the-small-element
Flow content, phrasing content Phrasing content None; must have both a start tag and an end tag. Any element that accepts phrasing content, or any element that accepts flow content. No corresponding role Any HTMLElement
source

The <source> HTML element specifies multiple media resources for the <picture>, the <audio> element, or the <video> 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 image file formats and media file formats.

HTML Standard
# the-source-element
None. None; it is a void element. It must have a start tag, but must not have an end tag.
A media element—<audio> or <video>—and it must be placed before any flow content or <track> element.
A <picture> element, and it must be placed before the <img> element.
No corresponding role No role permitted HTMLSourceElement
span

The <span> HTML 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 class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a <div> element, but <div> is a block-level element whereas a <span> is an inline-level element.

HTML Standard
# the-span-element
Flow content, phrasing content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content, or any element that accepts flow content. No corresponding role Any HTMLSpanElement
strong

The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type.

HTML Standard
# the-strong-element
Flow content, phrasing content, palpable content. Phrasing content. None; must have both a start tag and an end tag. Any element that accepts phrasing content, or any element that accepts flow content. No corresponding role Any HTMLElement
style

The <style> HTML 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 <style> element.

HTML Standard
# the-style-element
Metadata content, and if the scoped attribute is present: flow content. Text content matching the type attribute, that is text/css. Neither tag is omissible. Any element that accepts metadata content. No corresponding role No role permitted HTMLStyleElement
sub

The <sub> HTML 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.

HTML Standard
# the-sub-and-sup-elements
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
summary

The <summary> HTML element specifies a summary, caption, or legend for a <details> element's disclosure box. Clicking the <summary> element toggles the state of the parent <details> element open and closed.

HTML Standard
# the-summary-element
Phrasing content or one element of Heading content None; both the start tag and the end tag are mandatory. The <details> element. button No role permitted HTMLElement
sup

The <sup> HTML 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.

HTML Standard
# the-sub-and-sup-elements
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
table

The <table> HTML element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.

HTML Standard
# the-table-element
Flow content In this order:
  1. an optional <caption> element,
  2. zero or more <colgroup> elements,
  3. an optional <thead> element,
  4. either one of the following:
    • zero or more <tbody> elements
    • one or more <tr> elements
  5. an optional <tfoot> element
None, both the starting and ending tag are mandatory. Any element that accepts flow content table Any HTMLTableElement
tbody

The <tbody> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the body of the table (<table>).

HTML Standard
# the-tbody-element
None. Zero or more <tr> elements. A <tbody> element's start tag can be omitted if the first thing inside the <tbody> element is a <tr> element, and if the element is not immediately preceded by a <tbody>, <thead>, or <tfoot> element whose end tag has been omitted. (It can't be omitted if the element is empty.) A <tbody> element's end tag can be omitted if the <tbody> element is immediately followed by a <tbody> or <tfoot> element, or if there is no more content in the parent element. Within the required parent <table> element, the <tbody> element can be added after a <caption>, <colgroup>, and a <thead> element. rowgroup Any HTMLTableSectionElement
td

The <td> HTML element defines a cell of a table that contains data. It participates in the table model.

HTML Standard
# the-td-element
Sectioning root. Flow content. The start tag is mandatory.
The end tag may be omitted, if it is immediately followed by a <th> or <td> element or if there are no more data in its parent element.
A <tr> element. cell if a descendant of a <table> element Any HTMLTableCellElement
template

The <template> HTML 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.

Think of a template as a content fragment that is being stored for subsequent use in the document. While the parser does process the contents of the <template> element while loading the page, it does so only to ensure that those contents are valid; the element's contents are not rendered, however.

HTML Standard
# the-template-element
Metadata content, flow content, phrasing content, script-supporting element No restrictions None, both the starting and ending tag are mandatory. Any element that accepts metadata content, phrasing content, or script-supporting elements. Also allowed as a child of a <colgroup> element that does not have a span attribute. No corresponding role No role permitted HTMLTemplateElement
textarea

The <textarea> HTML 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.

HTML Standard
# the-textarea-element
Flow content, phrasing content, Interactive content, listed, labelable, resettable, and submittable form-associated element. Text None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. textbox No role permitted HTMLTextAreaElement
tfoot

The <tfoot> HTML element defines a set of rows summarizing the columns of the table.

HTML Standard
# the-tfoot-element
None. Zero or more <tr> elements. The start tag is mandatory. The end tag may be omitted if there is no more content in the parent <table> element. A <table> element. The <tfoot> must appear after any <caption>, <colgroup>, <thead>, <tbody>, or <tr> element. Note that this is the requirement in HTML.
Originally, in HTML4, the opposite was true: the <tfoot> element could not be placed after any <tbody> or <tr> element.
rowgroup Any HTMLTableSectionElement
th

The <th> HTML element defines a cell as the header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.

HTML Standard
# the-th-element
None. Flow content, but with no header, footer, sectioning content, or heading content descendants. The start tag is mandatory.
The end tag may be omitted, if it is immediately followed by a <th> or <td> element or if there are no more data in its parent element.
A <tr> element. columnheader or rowheader Any HTMLTableCellElement
thead

The <thead> HTML element defines a set of rows defining the head of the columns of the table.

HTML Standard
# the-thead-element
None. Zero or more <tr> elements. The start tag is mandatory. The end tag may be omitted if the <thead> element is immediately followed by a <tbody> or <tfoot> element. A <table> element. The <thead> must appear after any <caption> or <colgroup> element, even implicitly defined, but before any <tbody>, <tfoot> and <tr> element. rowgroup Any HTMLTableSectionElement
time

The <time> HTML element represents a specific period in time. It may include the datetime attribute to translate dates into machine-readable format, allowing for better search engine results or custom features such as reminders.

It may represent one of the following:

HTML Standard
# the-time-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLTimeElement
title

The <title> HTML 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.

HTML Standard
# the-title-element
Metadata content. Text that is not inter-element whitespace. Both opening and closing tags are required. Note that leaving off </title> should cause the browser to ignore the rest of the page. A <head> element that contains no other <title> element. No corresponding role No role permitted. HTMLTitleElement
tr

The <tr> HTML element defines a row of cells in a table. The row's cells can then be established using a mix of <td> (data cell) and <th> (header cell) elements.

HTML Standard
# the-tr-element
None Zero or more <td> and/or <th> elements; script-supporting elements (<script> and <template>) are also allowed Start tag is mandatory. End tag may be omitted if the <tr> element is immediately followed by a <tr> element, or if the row is the last element in its parent table group (<thead>, <tbody> or <tfoot>) element <table> (only if the table has no child <tbody> element, and even then only after any <caption>, <colgroup>, and <thead> elements); otherwise, the parent must be <thead>, <tbody> or <tfoot> row Any HTMLTableRowElement
track

The <track> HTML element is used as a child of the media elements, <audio> and <video>. It lets you specify timed text tracks (or time-based data), for example to automatically handle subtitles. The tracks are formatted in WebVTT format (.vtt files) — Web Video Text Tracks.

HTML Standard
# the-track-element
None None; it is a void element. As it is a void element, the start tag must be present and the end tag must not be present.

A media element, <audio> or <video>.

No corresponding role No role permitted HTMLTrackElement
u

The <u> HTML 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.

HTML Standard
# the-u-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
ul

The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list.

HTML Standard
# the-ul-element
Flow content, and if the <ul> element's children include at least one <li> element, palpable content. Zero or more <li>, <script> and <template> elements. None, both the starting and ending tag are mandatory. Any element that accepts flow content. list directory, group, listbox, menu, menubar, none, presentation, radiogroup, tablist, toolbar, tree HTMLUListElement
var

The <var> HTML 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.

HTML Standard
# the-var-element
Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. No corresponding role Any HTMLElement
video

The <video> HTML element embeds a media player which supports video playback into the document. You can use <video> for audio content as well, but the <audio> element may provide a more appropriate user experience.

HTML Standard
# the-video-element
Flow content, phrasing content, embedded content. If it has a controls attribute: interactive content and palpable content.

If the element has a src attribute: zero or more <track> elements, followed by transparent content that contains no media elements–that is no <audio> or <video>.

Else: zero or more <source> elements, followed by zero or more <track> elements, followed by transparent content that contains no media elements–that is no <audio> or <video>.

None, both the starting and ending tag are mandatory. Any element that accepts embedded content. No corresponding role application HTMLVideoElement
wbr

The <wbr> HTML 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.

HTML Standard
# the-wbr-element
Flow content, phrasing content. Empty It is a void element; it must have a start tag, but must not have an end tag. Any element that accepts phrasing content. No corresponding role Any HTMLElement

Deprecated HTML Elements

Deprecated HTML Elements
Element Summary Specification DOM interface Content categories Permitted content Tag omission Permitted parents Permitted ARIA roles Implicit ARIA role
acronym

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# acronym
big

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# big
center

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# center
dir

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

font

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# font
frame

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# frame
frameset

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# frameset
image

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

marquee

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# the-marquee-element-2
HTMLMarqueeElement
menuitem

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTMLMenuItemElement None. None; it is a void element. Must have a start tag and must not have an end tag. The <menu> element, where that element is in the popup menu state. (If specified, the type attribute of the <menu> element must be popup; if missing, the parent element of the <menu> must itself be a <menu> in the popup menu state.) None
nobr

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# nobr
noembed

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# noembed
noframes

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# noframes
param

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# the-param-element
HTMLParamElement None. None; it is a void element. As it is a void element, the start tag must be present and the end tag must not be present. An <object> before any flow content. No role permitted No corresponding role
plaintext

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# plaintext
rb

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# rb
HTMLElement None. As a child of a <ruby> element. The end tag can be omitted if the element is immediately followed by an <rt>, <rtc>, or <rp> element or another <rb> element, or if there is no more content in the parent element. A <ruby> element. Any
rtc

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# rtc
HTMLElement None. Phrasing content or <rt> elements. The closing tag can be omitted if it is immediately followed by a <rb>, <rtc> or <rt> element opening tag or by its parent closing tag. A <ruby> element. Any
strike

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# strike
HTMLElement
tt

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# tt
HTMLElement Flow content, phrasing content, palpable content. Phrasing content. None, both the starting and ending tag are mandatory. Any element that accepts phrasing content. Any
xmp

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

HTML Standard
# xmp