repo_id
stringlengths
22
103
file_path
stringlengths
41
147
content
stringlengths
181
193k
__index_level_0__
int64
0
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/article/index.md
--- title: "<article>: The Article Contents element" slug: Web/HTML/Element/article page-type: html-element browser-compat: html.elements.article --- {{HTMLSidebar}} The **`<article>`** [HTML](/en-US/docs/Web/HTML) element represents a self-contained composition in a document, page, application, or site, which is int...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/iframe/index.md
--- title: "<iframe>: The Inline Frame element" slug: Web/HTML/Element/iframe page-type: html-element browser-compat: html.elements.iframe --- {{HTMLSidebar}} The **`<iframe>`** [HTML](/en-US/docs/Web/HTML) element represents a nested {{Glossary("browsing context")}}, embedding another HTML page into the current one....
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/frame/index.md
--- title: <frame> slug: Web/HTML/Element/frame page-type: html-element status: - deprecated browser-compat: html.elements.frame --- {{HTMLSidebar}}{{Deprecated_Header}} The **`<frame>`** [HTML](/en-US/docs/Web/HTML) element defines a particular area in which another HTML document can be displayed. A frame should b...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/input/index.md
--- title: "<input>: The Input (Form Input) element" slug: Web/HTML/Element/input page-type: html-element browser-compat: html.elements.input --- {{HTMLSidebar}} The **`<input>`** [HTML](/en-US/docs/Web/HTML) element is used to create interactive controls for web-based forms in order to accept data from the user; a w...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/hidden/index.md
--- title: <input type="hidden"> slug: Web/HTML/Element/input/hidden page-type: html-element browser-compat: html.elements.input.type_hidden --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`hidden`** let web developers include data that cannot be seen or modified by users when a form is submitted. For...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/color/index.md
--- title: <input type="color"> slug: Web/HTML/Element/input/color page-type: html-element browser-compat: html.elements.input.type_color --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`color`** provide a user interface element that lets a user specify a color, either by using a visual color picker i...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/button/index.md
--- title: <input type="button"> slug: Web/HTML/Element/input/button page-type: html-element browser-compat: html.elements.input.type_button --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`button`** are rendered as simple push buttons, which can be programmed to control custom functionality anywhere ...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/search/index.md
--- title: <input type="search"> slug: Web/HTML/Element/input/search page-type: html-element browser-compat: html.elements.input.type_search --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`search`** are text fields designed for the user to enter search queries into. These are functionally identical t...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/text/index.md
--- title: <input type="text"> slug: Web/HTML/Element/input/text page-type: html-element browser-compat: html.elements.input.type_text --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`text`** create basic single-line text fields. {{EmbedInteractiveExample("pages/tabbed/input-text.html", "tabbed-short...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/email/index.md
--- title: <input type="email"> slug: Web/HTML/Element/input/email page-type: html-element browser-compat: html.elements.input.type_email --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`email`** are used to let the user enter and edit an email address, or, if the [`multiple`](/en-US/docs/Web/HTML/Att...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/checkbox/index.md
--- title: <input type="checkbox"> slug: Web/HTML/Element/input/checkbox page-type: html-element browser-compat: html.elements.input.type_checkbox --- {{HTMLSidebar}} {{htmlelement("input")}} elements of type **`checkbox`** are rendered by default as boxes that are checked (ticked) when activated, like you might see ...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/number/index.md
--- title: <input type="number"> slug: Web/HTML/Element/input/number page-type: html-element browser-compat: html.elements.input.type_number --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`number`** are used to let the user enter a number. They include built-in validation to reject non-numerical entr...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/tel/index.md
--- title: <input type="tel"> slug: Web/HTML/Element/input/tel page-type: html-element browser-compat: html.elements.input.type_tel --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`tel`** are used to let the user enter and edit a telephone number. Unlike [`<input type="email">`](/en-US/docs/Web/HTML/E...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/image/index.md
--- title: <input type="image"> slug: Web/HTML/Element/input/image page-type: html-element browser-compat: html.elements.input.type_image --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`image`** are used to create graphical submit buttons, i.e. submit buttons that take the form of an image rather tha...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/url/index.md
--- title: <input type="url"> slug: Web/HTML/Element/input/url page-type: html-element browser-compat: html.elements.input.type_url --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`url`** are used to let the user enter and edit a URL. {{EmbedInteractiveExample("pages/tabbed/input-url.html", "tabbed-s...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/month/index.md
--- title: <input type="month"> slug: Web/HTML/Element/input/month page-type: html-element browser-compat: html.elements.input.type_month --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`month`** create input fields that let the user enter a month and year allowing a month and year to be easily entere...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/password/index.md
--- title: <input type="password"> slug: Web/HTML/Element/input/password page-type: html-element browser-compat: html.elements.input.type_password --- {{HTMLSidebar}} `<input>` elements of type **`password`** provide a way for the user to securely enter a password. The element is presented as a one-line plain text e...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/reset/index.md
--- title: <input type="reset"> slug: Web/HTML/Element/input/reset page-type: html-element browser-compat: html.elements.input.type_reset --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`reset`** are rendered as buttons, with a default {{domxref("Element/click_event", "click")}} event handler that res...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/date/index.md
--- title: <input type="date"> slug: Web/HTML/Element/input/date page-type: html-element browser-compat: html.elements.input.type_date --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of **`type="date"`** create input fields that let the user enter a date, either with a textbox that validates the input or a spec...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/datetime-local/index.md
--- title: <input type="datetime-local"> slug: Web/HTML/Element/input/datetime-local page-type: html-element browser-compat: html.elements.input.type_datetime-local --- {{HTMLSidebar}} {{htmlelement("input")}} elements of type **`datetime-local`** create input controls that let the user easily enter both a date and a...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/range/index.md
--- title: <input type="range"> slug: Web/HTML/Element/input/range page-type: html-element browser-compat: html.elements.input.type_range --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`range`** let the user specify a numeric value which must be no less than a given value, and no more than another gi...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/file/index.md
--- title: <input type="file"> slug: Web/HTML/Element/input/file page-type: html-element browser-compat: html.elements.input.type_file --- {{HTMLSidebar}} {{HTMLElement("input")}} elements with **`type="file"`** let the user choose one or more files from their device storage. Once chosen, the files can be uploaded to...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/week/index.md
--- title: <input type="week"> slug: Web/HTML/Element/input/week page-type: html-element browser-compat: html.elements.input.type_week --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`week`** create input fields allowing easy entry of a year plus the [ISO 8601 week number](https://en.wikipedia.org/wik...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/submit/index.md
--- title: <input type="submit"> slug: Web/HTML/Element/input/submit page-type: html-element browser-compat: html.elements.input.type_submit --- {{HTMLSidebar}} {{HTMLElement("input")}} elements of type **`submit`** are rendered as buttons. When the {{domxref("Element/click_event", "click")}} event occurs (typically ...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/time/index.md
--- title: <input type="time"> slug: Web/HTML/Element/input/time page-type: html-element browser-compat: html.elements.input.type_time --- {{HTMLSidebar}} {{htmlelement("input")}} elements of type **`time`** create input fields designed to let the user easily enter a time (hours and minutes, and optionally seconds). ...
0
data/mdn-content/files/en-us/web/html/element/input
data/mdn-content/files/en-us/web/html/element/input/radio/index.md
--- title: <input type="radio"> slug: Web/HTML/Element/input/radio page-type: html-element browser-compat: html.elements.input.type_radio --- {{HTMLSidebar}} {{htmlelement("input")}} elements of type **`radio`** are generally used in **radio groups**—collections of radio buttons describing a set of related options. ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/details/index.md
--- title: "<details>: The Details disclosure element" slug: Web/HTML/Element/details page-type: html-element browser-compat: html.elements.details --- {{HTMLSidebar}} The **`<details>`** [HTML](/en-US/docs/Web/HTML) element creates a disclosure widget in which information is visible only when the widget is toggled i...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/rt/index.md
--- title: "<rt>: The Ruby Text element" slug: Web/HTML/Element/rt page-type: html-element browser-compat: html.elements.rt --- {{HTMLSidebar}} The **`<rt>`** [HTML](/en-US/docs/Web/HTML) element specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliter...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/progress/index.md
--- title: "<progress>: The Progress Indicator element" slug: Web/HTML/Element/progress page-type: html-element browser-compat: html.elements.progress --- {{HTMLSidebar}} The **`<progress>`** [HTML](/en-US/docs/Web/HTML) element displays an indicator showing the completion progress of a task, typically displayed as a...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/th/index.md
--- title: "<th>: The Table Header element" slug: Web/HTML/Element/th page-type: html-element browser-compat: html.elements.th --- {{HTMLSidebar}} The **`<th>`** [HTML](/en-US/docs/Web/HTML) element defines a cell as the header of a group of table cells and may be used as a child of the {{HTMLElement("tr")}} element....
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/th/column-row-span.html
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Column and row span</title> <style> body { margin: 0; padding: 15px; width: max-content; font-family: "Arial", sans-ser...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/pre/index.md
--- title: "<pre>: The Preformatted Text element" slug: Web/HTML/Element/pre page-type: html-element browser-compat: html.elements.pre --- {{HTMLSidebar}} The **`<pre>`** [HTML](/en-US/docs/Web/HTML) element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typical...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/table/index.md
--- title: "<table>: The Table element" slug: Web/HTML/Element/table page-type: html-element browser-compat: html.elements.table --- {{HTMLSidebar}} The **`<table>`** [HTML](/en-US/docs/Web/HTML) element represents tabular data—that is, information presented in a two-dimensional table comprised of rows and columns of...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/template/index.md
--- title: "<template>: The Content Template element" slug: Web/HTML/Element/template page-type: html-element browser-compat: html.elements.template --- {{HTMLSidebar}} The **`<template>`** [HTML](/en-US/docs/Web/HTML) element serves as a mechanism for holding {{Glossary("HTML")}} fragments, which can either be used ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/plaintext/index.md
--- title: "<plaintext>: The Plain Text element (Deprecated)" slug: Web/HTML/Element/plaintext page-type: html-element status: - deprecated browser-compat: html.elements.plaintext --- {{HTMLSidebar}}{{deprecated_header}} The **`<plaintext>`** [HTML](/en-US/docs/Web/HTML) element renders everything following the sta...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/ins/index.md
--- title: "<ins>: The Inserted Text element" slug: Web/HTML/Element/ins page-type: html-element browser-compat: html.elements.ins --- {{HTMLSidebar}} The **`<ins>`** [HTML](/en-US/docs/Web/HTML) element represents a range of text that has been added to a document. You can use the {{HTMLElement("del")}} element to si...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/search/index.md
--- title: "<search>: The generic search element" slug: Web/HTML/Element/search page-type: html-element browser-compat: html.elements.search --- {{HTMLSidebar}} The **`<search>`** [HTML](/en-US/docs/Web/HTML) element is a container representing the parts of the document or application with form controls or other cont...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/p/index.md
--- title: "<p>: The Paragraph element" slug: Web/HTML/Element/p page-type: html-element browser-compat: html.elements.p --- {{HTMLSidebar}} The **`<p>`** [HTML](/en-US/docs/Web/HTML) element represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/div/index.md
--- title: "<div>: The Content Division element" slug: Web/HTML/Element/div page-type: html-element browser-compat: html.elements.div --- {{HTMLSidebar}} The **`<div>`** [HTML](/en-US/docs/Web/HTML) element is the generic container for flow content. It has no effect on the content or layout until styled in some way u...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/i/index.md
--- title: "<i>: The Idiomatic Text element" slug: Web/HTML/Element/i page-type: html-element browser-compat: html.elements.i --- {{HTMLSidebar}} The **`<i>`** [HTML](/en-US/docs/Web/HTML) element represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms,...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/embed/index.md
--- title: "<embed>: The Embed External Content element" slug: Web/HTML/Element/embed page-type: html-element browser-compat: html.elements.embed --- {{HTMLSidebar}} The **`<embed>`** [HTML](/en-US/docs/Web/HTML) element embeds external content at the specified point in the document. This content is provided by an ex...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/base/index.md
--- title: "<base>: The Document Base URL element" slug: Web/HTML/Element/base page-type: html-element browser-compat: html.elements.base --- {{HTMLSidebar}} The **`<base>`** [HTML](/en-US/docs/Web/HTML) element specifies the base URL to use for all _relative_ URLs in a document. There can be only one `<base>` elemen...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/fieldset/index.md
--- title: "<fieldset>: The Field Set element" slug: Web/HTML/Element/fieldset page-type: html-element browser-compat: html.elements.fieldset --- {{HTMLSidebar}} The **`<fieldset>`** [HTML](/en-US/docs/Web/HTML) element is used to group several controls as well as labels ({{HTMLElement("label")}}) within a web form. ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/acronym/index.md
--- title: <acronym> slug: Web/HTML/Element/acronym page-type: html-element status: - deprecated browser-compat: html.elements.acronym --- {{HTMLSidebar}}{{deprecated_header}} The **`<acronym>`** [HTML](/en-US/docs/Web/HTML) element allows authors to clearly indicate a sequence of characters that compose an acronym...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/tfoot/index.md
--- title: "<tfoot>: The Table Foot element" slug: Web/HTML/Element/tfoot page-type: html-element browser-compat: html.elements.tfoot --- {{HTMLSidebar}} The **`<tfoot>`** [HTML](/en-US/docs/Web/HTML) element encapsulates a set of table rows ({{HTMLElement("tr")}} elements), indicating that they comprise the foot of ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/meter/index.md
--- title: "<meter>: The HTML Meter element" slug: Web/HTML/Element/meter page-type: html-element browser-compat: html.elements.meter --- {{HTMLSidebar}} The **`<meter>`** [HTML](/en-US/docs/Web/HTML) element represents either a scalar value within a known range or a fractional value. {{EmbedInteractiveExample("page...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/textarea/index.md
--- title: "<textarea>: The Textarea element" slug: Web/HTML/Element/textarea page-type: html-element browser-compat: html.elements.textarea --- {{HTMLSidebar}} The **`<textarea>`** [HTML](/en-US/docs/Web/HTML) element represents a multi-line plain-text editing control, useful when you want to allow users to enter a ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/strong/index.md
--- title: "<strong>: The Strong Importance element" slug: Web/HTML/Element/strong page-type: html-element browser-compat: html.elements.strong --- {{HTMLSidebar}} The **`<strong>`** [HTML](/en-US/docs/Web/HTML) element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically re...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/header/index.md
--- title: "<header>: The Header element" slug: Web/HTML/Element/header page-type: html-element browser-compat: html.elements.header --- {{HTMLSidebar}} The **`<header>`** [HTML](/en-US/docs/Web/HTML) element represents introductory content, typically a group of introductory or navigational aids. It may contain some ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/noframes/index.md
--- title: "<noframes>: The Frame Fallback element" slug: Web/HTML/Element/noframes page-type: html-element status: - deprecated browser-compat: html.elements.noframes --- {{HTMLSidebar}}{{deprecated_header}} The **`<noframes>`** [HTML](/en-US/docs/Web/HTML) element provides content to be presented in browsers that...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/output/index.md
--- title: "<output>: The Output element" slug: Web/HTML/Element/output page-type: html-element browser-compat: html.elements.output --- {{HTMLSidebar}} The **`<output>`** [HTML](/en-US/docs/Web/HTML) element is a container element into which a site or app can inject the results of a calculation or the outcome of a u...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/head/index.md
--- title: "<head>: The Document Metadata (Header) element" slug: Web/HTML/Element/head page-type: html-element browser-compat: html.elements.head --- {{HTMLSidebar}} The **`<head>`** [HTML](/en-US/docs/Web/HTML) element contains machine-readable information ({{glossary("metadata")}}) about the document, like its [ti...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/ol/index.md
--- title: "<ol>: The Ordered List element" slug: Web/HTML/Element/ol page-type: html-element browser-compat: html.elements.ol --- {{HTMLSidebar}} The **`<ol>`** [HTML](/en-US/docs/Web/HTML) element represents an ordered list of items — typically rendered as a numbered list. {{EmbedInteractiveExample("pages/tabbed/o...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/portal/index.md
--- title: "<portal>: The Portal element" slug: Web/HTML/Element/portal page-type: html-element status: - experimental browser-compat: html.elements.portal --- {{HTMLSidebar}}{{SeeCompatTable}} The **`<portal>`** [HTML](/en-US/docs/Web/HTML) element enables the embedding of another HTML page into the current one fo...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/select/index.md
--- title: "<select>: The HTML Select element" slug: Web/HTML/Element/select page-type: html-element browser-compat: html.elements.select --- {{HTMLSidebar}} The **`<select>`** [HTML](/en-US/docs/Web/HTML) element represents a control that provides a menu of options. {{EmbedInteractiveExample("pages/tabbed/select.ht...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/bdi/index.md
--- title: "<bdi>: The Bidirectional Isolate element" slug: Web/HTML/Element/bdi page-type: html-element browser-compat: html.elements.bdi --- {{HTMLSidebar}} The **`<bdi>`** [HTML](/en-US/docs/Web/HTML) element tells the browser's bidirectional algorithm to treat the text it contains in isolation from its surroundin...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/dl/index.md
--- title: "<dl>: The Description List element" slug: Web/HTML/Element/dl page-type: html-element browser-compat: html.elements.dl --- {{HTMLSidebar}} The **`<dl>`** [HTML](/en-US/docs/Web/HTML) element represents a description list. The element encloses a list of groups of terms (specified using the {{HTMLElement("d...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/section/index.md
--- title: "<section>: The Generic Section element" slug: Web/HTML/Element/section page-type: html-element browser-compat: html.elements.section --- {{HTMLSidebar}} The **`<section>`** [HTML](/en-US/docs/Web/HTML) element represents a generic standalone section of a document, which doesn't have a more specific semant...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/figure/index.md
--- title: "<figure>: The Figure with Optional Caption element" slug: Web/HTML/Element/figure page-type: html-element browser-compat: html.elements.figure --- {{HTMLSidebar}} The **`<figure>`** [HTML](/en-US/docs/Web/HTML) element represents self-contained content, potentially with an optional caption, which is speci...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/html/index.md
--- title: "<html>: The HTML Document / Root element" slug: Web/HTML/Element/html page-type: html-element browser-compat: html.elements.html --- {{HTMLSidebar}} The **`<html>`** [HTML](/en-US/docs/Web/HTML) element represents the root (top-level element) of an HTML document, so it is also referred to as the _root ele...
0
data/mdn-content/files/en-us/web/html/element/html
data/mdn-content/files/en-us/web/html/element/html/manifest/index.md
--- title: manifest slug: Web/HTML/Element/html/manifest page-type: html-attribute status: - deprecated browser-compat: html.elements.html.manifest --- {{securecontext_header}}{{Deprecated_Header}} The **`manifest`** attribute of the `<html>` element specifies a URL of an application cache manifest that is download...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/style/index.md
--- title: "<style>: The Style Information element" slug: Web/HTML/Element/style page-type: html-element browser-compat: html.elements.style --- {{HTMLSidebar}} The **`<style>`** [HTML](/en-US/docs/Web/HTML) element contains style information for a document, or part of a document. It contains CSS, which is applied to...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/bdo/index.md
--- title: "<bdo>: The Bidirectional Text Override element" slug: Web/HTML/Element/bdo page-type: html-element browser-compat: html.elements.bdo --- {{HTMLSidebar}} The **`<bdo>`** [HTML](/en-US/docs/Web/HTML) element overrides the current directionality of text, so that the text within is rendered in a different dir...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/tbody/index.md
--- title: "<tbody>: The Table Body element" slug: Web/HTML/Element/tbody page-type: html-element browser-compat: html.elements.tbody --- {{HTMLSidebar}} The **`<tbody>`** [HTML](/en-US/docs/Web/HTML) element encapsulates a set of table rows ({{HTMLElement("tr")}} elements), indicating that they comprise the body of ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/mark/index.md
--- title: "<mark>: The Mark Text element" slug: Web/HTML/Element/mark page-type: html-element browser-compat: html.elements.mark --- {{HTMLSidebar}} The **`<mark>`** [HTML](/en-US/docs/Web/HTML) element represents text which is **marked** or **highlighted** for reference or notation purposes due to the marked passag...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/em/index.md
--- title: "<em>: The Emphasis element" slug: Web/HTML/Element/em page-type: html-element browser-compat: html.elements.em --- {{HTMLSidebar}} The **`<em>`** [HTML](/en-US/docs/Web/HTML) element marks text that has stress emphasis. The `<em>` element can be nested, with each level of nesting indicating a greater degr...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/legend/index.md
--- title: "<legend>: The Field Set Legend element" slug: Web/HTML/Element/legend page-type: html-element browser-compat: html.elements.legend --- {{HTMLSidebar}} The **`<legend>`** [HTML](/en-US/docs/Web/HTML) element represents a caption for the content of its parent {{HTMLElement("fieldset")}}. {{EmbedInteractive...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/strike/index.md
--- title: <strike> slug: Web/HTML/Element/strike page-type: html-element status: - deprecated browser-compat: html.elements.strike --- {{HTMLSidebar}}{{deprecated_header}} The **`<strike>`** [HTML](/en-US/docs/Web/HTML) element places a strikethrough (horizontal line) over text. > **Warning:** This element is dep...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/audio/index.md
--- title: "<audio>: The Embed Audio element" slug: Web/HTML/Element/audio page-type: html-element browser-compat: html.elements.audio --- {{HTMLSidebar}} The **`<audio>`** [HTML](/en-US/docs/Web/HTML) element is used to embed sound content in documents. It may contain one or more audio sources, represented using the...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/link/index.md
--- title: "<link>: The External Resource Link element" slug: Web/HTML/Element/link page-type: html-element browser-compat: html.elements.link --- {{HTMLSidebar}} The **`<link>`** [HTML](/en-US/docs/Web/HTML) element specifies relationships between the current document and an external resource. This element is most c...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/menu/index.md
--- title: "<menu>: The Menu element" slug: Web/HTML/Element/menu page-type: html-element browser-compat: html.elements.menu --- {{HTMLSidebar}} The **`<menu>`** [HTML](/en-US/docs/Web/HTML) element is described in the HTML specification as a semantic alternative to {{HTMLElement("ul")}}, but treated by browsers (and...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/span/index.md
--- title: "<span>: The Content Span element" slug: Web/HTML/Element/span page-type: html-element browser-compat: html.elements.span --- {{HTMLSidebar}} The **`<span>`** [HTML](/en-US/docs/Web/HTML) element is a generic inline container for phrasing content, which does not inherently represent anything. It can be use...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/picture/index.md
--- title: "<picture>: The Picture element" slug: Web/HTML/Element/picture page-type: html-element browser-compat: html.elements.picture --- {{HTMLSidebar}} The **`<picture>`** [HTML](/en-US/docs/Web/HTML) element contains zero or more {{HTMLElement("source")}} elements and one {{HTMLElement("img")}} element to offer...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/nobr/index.md
--- title: "<nobr>: The Non-Breaking Text element" slug: Web/HTML/Element/nobr page-type: html-element status: - deprecated browser-compat: html.elements.nobr --- {{HTMLSidebar}}{{deprecated_header}} The **`<nobr>`** [HTML](/en-US/docs/Web/HTML) element prevents the text it contains from automatically wrapping acro...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/optgroup/index.md
--- title: "<optgroup>: The Option Group element" slug: Web/HTML/Element/optgroup page-type: html-element browser-compat: html.elements.optgroup --- {{HTMLSidebar}} The **`<optgroup>`** [HTML](/en-US/docs/Web/HTML) element creates a grouping of options within a {{HTMLElement("select")}} element. {{EmbedInteractiveEx...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/hgroup/index.md
--- title: "<hgroup>: The Heading Group element" slug: Web/HTML/Element/hgroup page-type: html-element browser-compat: html.elements.hgroup --- {{HTMLSidebar}} The **`<hgroup>`** [HTML](/en-US/docs/Web/HTML) element represents a heading and related content. It groups a single [`<h1>–<h6>`](/en-US/docs/Web/HTML/Elemen...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/b/index.md
--- title: "<b>: The Bring Attention To element" slug: Web/HTML/Element/b page-type: html-element browser-compat: html.elements.b --- {{HTMLSidebar}} The **`<b>`** [HTML](/en-US/docs/Web/HTML) element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance....
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/datalist/index.md
--- title: "<datalist>: The HTML Data List element" slug: Web/HTML/Element/datalist page-type: html-element browser-compat: html.elements.datalist --- {{HTMLSidebar}} The **`<datalist>`** [HTML](/en-US/docs/Web/HTML) element contains a set of {{HTMLElement("option")}} elements that represent the permissible or recomm...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/image/index.md
--- title: "<image>: The Image element" slug: Web/HTML/Element/image page-type: html-element status: - deprecated - non-standard browser-compat: html.elements.image --- {{HTMLSidebar}}{{deprecated_header}}{{Non-standard_header}} The **`<image>`** [HTML](/en-US/docs/Web/HTML) element is an ancient and poorly suppo...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/summary/index.md
--- title: "<summary>: The Disclosure Summary element" slug: Web/HTML/Element/summary page-type: html-element browser-compat: html.elements.summary --- {{HTMLSidebar}} The **`<summary>`** [HTML](/en-US/docs/Web/HTML) element specifies a summary, caption, or legend for a {{HTMLElement("details")}} element's disclosure...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/dfn/index.md
--- title: "<dfn>: The Definition element" slug: Web/HTML/Element/dfn page-type: html-element browser-compat: html.elements.dfn --- {{HTMLSidebar}} The **`<dfn>`** [HTML](/en-US/docs/Web/HTML) element indicates a term to be defined. The `<dfn>` element should be used in a complete definition statement, where the ance...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/font/index.md
--- title: <font> slug: Web/HTML/Element/font page-type: html-element status: - deprecated browser-compat: html.elements.font --- {{HTMLSidebar}}{{Deprecated_Header}} The **`<font>`** [HTML](/en-US/docs/Web/HTML) element defines the font size, color and face for its content. > **Warning:** Do not use this element....
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/video/index.md
--- title: "<video>: The Video Embed element" slug: Web/HTML/Element/video page-type: html-element browser-compat: html.elements.video --- {{HTMLSidebar}} The **`<video>`** [HTML](/en-US/docs/Web/HTML) element embeds a media player which supports video playback into the document. You can use `<video>` for audio conte...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/samp/index.md
--- title: "<samp>: The Sample Output element" slug: Web/HTML/Element/samp page-type: html-element browser-compat: html.elements.samp --- {{HTMLSidebar}} The **`<samp>`** [HTML](/en-US/docs/Web/HTML) element is used to enclose inline text which represents sample (or quoted) output from a computer program. Its content...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/hr/index.md
--- title: "<hr>: The Thematic Break (Horizontal Rule) element" slug: Web/HTML/Element/hr page-type: html-element browser-compat: html.elements.hr --- {{HTMLSidebar}} The **`<hr>`** [HTML](/en-US/docs/Web/HTML) element represents a thematic break between paragraph-level elements: for example, a change of scene in a s...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/center/index.md
--- title: "<center>: The Centered Text element" slug: Web/HTML/Element/center page-type: html-element status: - deprecated browser-compat: html.elements.center --- {{HTMLSidebar}}{{deprecated_header}} The **`<center>`** [HTML](/en-US/docs/Web/HTML) element is a [block-level element](/en-US/docs/Glossary/Block-leve...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/track/index.md
--- title: "<track>: The Embed Text Track element" slug: Web/HTML/Element/track page-type: html-element browser-compat: html.elements.track --- {{HTMLSidebar}} The **`<track>`** [HTML](/en-US/docs/Web/HTML) element is used as a child of the media elements, {{HTMLElement("audio")}} and {{HTMLElement("video")}}. It let...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/thead/index.md
--- title: "<thead>: The Table Head element" slug: Web/HTML/Element/thead page-type: html-element browser-compat: html.elements.thead --- {{HTMLSidebar}} The **`<thead>`** [HTML](/en-US/docs/Web/HTML) element encapsulates a set of table rows ({{HTMLElement("tr")}} elements), indicating that they comprise the head of ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/thead/column-row-span.html
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Column and row span</title> <style> body { margin: 0; padding: 15px; width: max-content; font-family: "Arial", sans-ser...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/address/index.md
--- title: "<address>: The Contact Address element" slug: Web/HTML/Element/address page-type: html-element browser-compat: html.elements.address --- {{HTMLSidebar}} The **`<address>`** [HTML](/en-US/docs/Web/HTML) element indicates that the enclosed HTML provides contact information for a person or people, or for an ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/wbr/index.md
--- title: "<wbr>: The Line Break Opportunity element" slug: Web/HTML/Element/wbr page-type: html-element browser-compat: html.elements.wbr --- {{HTMLSidebar}} The **`<wbr>`** [HTML](/en-US/docs/Web/HTML) element represents a word break opportunity—a position within text where the browser may optionally break a line,...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/rp/index.md
--- title: "<rp>: The Ruby Fallback Parenthesis element" slug: Web/HTML/Element/rp page-type: html-element browser-compat: html.elements.rp --- {{HTMLSidebar}} The **`<rp>`** [HTML](/en-US/docs/Web/HTML) element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations usin...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/marquee/index.md
--- title: "<marquee>: The Marquee element" slug: Web/HTML/Element/marquee page-type: html-element status: - deprecated browser-compat: html.elements.marquee --- {{HTMLSidebar}}{{Deprecated_Header}} The **`<marquee>`** [HTML](/en-US/docs/Web/HTML) element is used to insert a scrolling area of text. You can control ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/option/index.md
--- title: "<option>: The HTML Option element" slug: Web/HTML/Element/option page-type: html-element browser-compat: html.elements.option --- {{HTMLSidebar}} The **`<option>`** [HTML](/en-US/docs/Web/HTML) element is used to define an item contained in a {{HTMLElement("select")}}, an {{HTMLElement("optgroup")}}, or a...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/xmp/index.md
--- title: <xmp> slug: Web/HTML/Element/xmp page-type: html-element status: - deprecated browser-compat: html.elements.xmp --- {{HTMLSidebar}}{{deprecated_header}} ## Summary The **`<xmp>`** [HTML](/en-US/docs/Web/HTML) element renders text between the start and end tags without interpreting the HTML in between an...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/label/index.md
--- title: "<label>: The Label element" slug: Web/HTML/Element/label page-type: html-element browser-compat: html.elements.label --- {{HTMLSidebar}} The **`<label>`** [HTML](/en-US/docs/Web/HTML) element represents a caption for an item in a user interface. {{EmbedInteractiveExample("pages/tabbed/label.html", "tabbe...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/u/index.md
--- title: "<u>: The Unarticulated Annotation (Underline) element" slug: Web/HTML/Element/u page-type: html-element browser-compat: html.elements.u --- {{HTMLSidebar}} The **`<u>`** [HTML](/en-US/docs/Web/HTML) element represents a span of inline text which should be rendered in a way that indicates that it has a non...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/code/index.md
--- title: "<code>: The Inline Code element" slug: Web/HTML/Element/code page-type: html-element browser-compat: html.elements.code --- {{HTMLSidebar}} The **`<code>`** [HTML](/en-US/docs/Web/HTML) element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer cod...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/sub/index.md
--- title: "<sub>: The Subscript element" slug: Web/HTML/Element/sub page-type: html-element browser-compat: html.elements.sub --- {{HTMLSidebar}} The **`<sub>`** [HTML](/en-US/docs/Web/HTML) element specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typicall...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/rtc/index.md
--- title: "<rtc>: The Ruby Text Container element" slug: Web/HTML/Element/rtc page-type: html-element status: - deprecated browser-compat: html.elements.rtc --- {{HTMLSidebar}}{{deprecated_header}} The **`<rtc>`** [HTML](/en-US/docs/Web/HTML) element embraces semantic annotations of characters presented in a ruby ...
0