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/kbd/index.md
--- title: "<kbd>: The Keyboard Input element" slug: Web/HTML/Element/kbd page-type: html-element browser-compat: html.elements.kbd --- {{HTMLSidebar}} The **`<kbd>`** [HTML](/en-US/docs/Web/HTML) element represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entr...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/noembed/index.md
--- title: "<noembed>: The Embed Fallback element" slug: Web/HTML/Element/noembed page-type: html-element status: - deprecated browser-compat: html.elements.noembed --- {{HTMLSidebar}}{{deprecated_header}} The **`<noembed>`** [HTML](/en-US/docs/Web/HTML) element is an obsolete, non-standard way to provide alternati...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/var/index.md
--- title: "<var>: The Variable element" slug: Web/HTML/Element/var page-type: html-element browser-compat: html.elements.var --- {{HTMLSidebar}} The **`<var>`** [HTML](/en-US/docs/Web/HTML) element represents the name of a variable in a mathematical expression or a programming context. It's typically presented using...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/param/index.md
--- title: "<param>: The Object Parameter element" slug: Web/HTML/Element/param page-type: html-element status: - deprecated browser-compat: html.elements.param --- {{HTMLSidebar}}{{Deprecated_Header}} The **`<param>`** [HTML](/en-US/docs/Web/HTML) element defines parameters for an {{HTMLElement("object")}} element...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/object/index.md
--- title: "<object>: The External Object element" slug: Web/HTML/Element/object page-type: html-element browser-compat: html.elements.object --- {{HTMLSidebar}} The **`<object>`** [HTML](/en-US/docs/Web/HTML) element represents an external resource, which can be treated as an image, a nested browsing context, or a r...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/rb/index.md
--- title: "<rb>: The Ruby Base element" slug: Web/HTML/Element/rb page-type: html-element status: - deprecated browser-compat: html.elements.rb --- {{HTMLSidebar}}{{deprecated_header}} The **`<rb>`** [HTML](/en-US/docs/Web/HTML) element is used to delimit the base text component of a {{HTMLElement("ruby") }} annot...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/script/index.md
--- title: "<script>: The Script element" slug: Web/HTML/Element/script page-type: html-element browser-compat: html.elements.script --- {{HTMLSidebar}} The **`<script>`** [HTML](/en-US/docs/Web/HTML) element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The `<...
0
data/mdn-content/files/en-us/web/html/element/script
data/mdn-content/files/en-us/web/html/element/script/type/index.md
--- title: "<script>: type attribute" slug: Web/HTML/Element/script/type page-type: html-attribute browser-compat: html.elements.script.type --- {{HTMLSidebar}} The **`type`** attribute of the [`<script>`](/en-US/docs/Web/HTML/Element/script) element indicates the _type_ of script represented by the element: a classi...
0
data/mdn-content/files/en-us/web/html/element/script/type
data/mdn-content/files/en-us/web/html/element/script/type/speculationrules/index.md
--- title: <script type="speculationrules"> slug: Web/HTML/Element/script/type/speculationrules page-type: html-attribute-value status: - experimental browser-compat: html.elements.script.type.speculationrules --- {{HTMLSidebar}}{{SeeCompatTable}} The **`speculationrules`** value of the [`type`](/en-US/docs/Web/HTM...
0
data/mdn-content/files/en-us/web/html/element/script/type
data/mdn-content/files/en-us/web/html/element/script/type/importmap/index.md
--- title: <script type="importmap"> slug: Web/HTML/Element/script/type/importmap page-type: html-attribute-value browser-compat: html.elements.script.type.importmap --- {{HTMLSidebar}} The **`importmap`** value of the [`type`](/en-US/docs/Web/HTML/Element/script/type) attribute of the [`<script>` element](/en-US/doc...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/td/index.md
--- title: "<td>: The Table Data Cell element" slug: Web/HTML/Element/td page-type: html-element browser-compat: html.elements.td --- {{HTMLSidebar}} The **`<td>`** [HTML](/en-US/docs/Web/HTML) element defines a cell of a table that contains data and may be used as a child of the {{HTMLElement("tr")}} element. {{Emb...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/td/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/q/index.md
--- title: "<q>: The Inline Quotation element" slug: Web/HTML/Element/q page-type: html-element browser-compat: html.elements.q --- {{HTMLSidebar}} The **`<q>`** [HTML](/en-US/docs/Web/HTML) element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the te...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/meta/index.md
--- title: "<meta>: The metadata element" slug: Web/HTML/Element/meta page-type: html-element browser-compat: html.elements.meta --- {{HTMLSidebar}} The **`<meta>`** [HTML](/en-US/docs/Web/HTML) element represents {{Glossary("Metadata","metadata")}} that cannot be represented by other HTML meta-related elements, like...
0
data/mdn-content/files/en-us/web/html/element/meta
data/mdn-content/files/en-us/web/html/element/meta/name/index.md
--- title: Standard metadata names slug: Web/HTML/Element/meta/name page-type: html-attribute browser-compat: html.elements.meta.name --- {{HTMLSidebar}} The {{htmlelement("meta")}} element can be used to provide document metadata in terms of name-value pairs, with the [`name`](/en-US/docs/Web/HTML/Element/meta#name)...
0
data/mdn-content/files/en-us/web/html/element/meta/name
data/mdn-content/files/en-us/web/html/element/meta/name/theme-color/index.md
--- title: theme-color slug: Web/HTML/Element/meta/name/theme-color page-type: html-attribute-value browser-compat: html.elements.meta.name.theme-color --- {{HTMLSidebar}} The **`theme-color`** value for the [`name`](/en-US/docs/Web/HTML/Element/meta#name) attribute of the {{htmlelement("meta")}} element indicates a ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/del/index.md
--- title: "<del>: The Deleted Text element" slug: Web/HTML/Element/del page-type: html-element browser-compat: html.elements.del --- {{HTMLSidebar}} The **`<del>`** [HTML](/en-US/docs/Web/HTML) element represents a range of text that has been deleted from a document. This can be used when rendering "track changes" o...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/dd/index.md
--- title: "<dd>: The Description Details element" slug: Web/HTML/Element/dd page-type: html-element browser-compat: html.elements.dd --- {{HTMLSidebar}} The **`<dd>`** [HTML](/en-US/docs/Web/HTML) element provides the description, definition, or value for the preceding term ({{HTMLElement("dt")}}) in a description l...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/canvas/index.md
--- title: "<canvas>: The Graphics Canvas element" slug: Web/HTML/Element/canvas page-type: html-element browser-compat: html.elements.canvas --- {{HTMLSidebar}} Use the **HTML `<canvas>` element** with either the [canvas scripting API](/en-US/docs/Web/API/Canvas_API) or the [WebGL API](/en-US/docs/Web/API/WebGL_API)...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/slot/index.md
--- title: "<slot>: The Web Component Slot element" slug: Web/HTML/Element/slot page-type: html-element browser-compat: html.elements.slot --- {{HTMLSidebar}} The **`<slot>`** [HTML](/en-US/docs/Web/HTML) element—part of the [Web Components](/en-US/docs/Web/API/Web_components) technology suite—is a placeholder inside...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/col/index.md
--- title: "<col>: The Table Column element" slug: Web/HTML/Element/col page-type: html-element browser-compat: html.elements.col --- {{HTMLSidebar}} The **`<col>`** [HTML](/en-US/docs/Web/HTML) element defines one or more columns in a column group represented by its parent {{HTMLElement("colgroup")}} element. The `<...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/ruby/index.md
--- title: "<ruby>: The Ruby Annotation element" slug: Web/HTML/Element/ruby page-type: html-element browser-compat: html.elements.ruby --- {{HTMLSidebar}} The **`<ruby>`** [HTML](/en-US/docs/Web/HTML) element represents small annotations that are rendered above, below, or next to base text, usually used for showing ...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/sup/index.md
--- title: "<sup>: The Superscript element" slug: Web/HTML/Element/sup page-type: html-element browser-compat: html.elements.sup --- {{HTMLSidebar}} The **`<sup>`** [HTML](/en-US/docs/Web/HTML) element specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usu...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/time/index.md
--- title: "<time>: The (Date) Time element" slug: Web/HTML/Element/time page-type: html-element browser-compat: html.elements.time --- {{HTMLSidebar}} The **`<time>`** [HTML](/en-US/docs/Web/HTML) element represents a specific period in time. It may include the `datetime` attribute to translate dates into machine-re...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/dt/index.md
--- title: "<dt>: The Description Term element" slug: Web/HTML/Element/dt page-type: html-element browser-compat: html.elements.dt --- {{HTMLSidebar}} The **`<dt>`** [HTML](/en-US/docs/Web/HTML) element specifies a term in a description or definition list, and as such must be used inside a {{HTMLElement("dl")}} eleme...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/tr/index.md
--- title: "<tr>: The Table Row element" slug: Web/HTML/Element/tr page-type: html-element browser-compat: html.elements.tr --- {{HTMLSidebar}} The **`<tr>`** [HTML](/en-US/docs/Web/HTML) element defines a row of cells in a table. The row's cells can then be established using a mix of {{HTMLElement("td")}} (data cell...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/cite/index.md
--- title: "<cite>: The Citation element" slug: Web/HTML/Element/cite page-type: html-element browser-compat: html.elements.cite --- {{HTMLSidebar}} The **`<cite>`** [HTML](/en-US/docs/Web/HTML) element is used to mark up the title of a cited creative work. The reference may be in an abbreviated form according to con...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/small/index.md
--- title: "<small>: the side comment element" slug: Web/HTML/Element/small page-type: html-element browser-compat: html.elements.small --- {{HTMLSidebar}} The **`<small>`** [HTML](/en-US/docs/Web/HTML) element represents side-comments and small print, like copyright and legal text, independent of its styled presenta...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/big/index.md
--- title: "<big>: The Bigger Text element" slug: Web/HTML/Element/big page-type: html-element status: - deprecated browser-compat: html.elements.big --- {{HTMLSidebar}}{{deprecated_header}} The **`<big>`** [HTML](/en-US/docs/Web/HTML) deprecated element renders the enclosed text at a font size one level larger tha...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/img/index.md
--- title: "<img>: The Image Embed element" slug: Web/HTML/Element/img page-type: html-element browser-compat: html.elements.img --- {{HTMLSidebar}} The **`<img>`** [HTML](/en-US/docs/Web/HTML) element embeds an image into the document. {{EmbedInteractiveExample("pages/tabbed/img.html", "tabbed-standard")}} The abo...
0
data/mdn-content/files/en-us/web/html/element
data/mdn-content/files/en-us/web/html/element/s/index.md
--- title: "<s>: The Strikethrough element" slug: Web/HTML/Element/s page-type: html-element browser-compat: html.elements.s --- {{HTMLSidebar}} The **`<s>`** [HTML](/en-US/docs/Web/HTML) element renders text with a strikethrough, or a line through it. Use the `<s>` element to represent things that are no longer rele...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/content_categories/index.md
--- title: Content categories slug: Web/HTML/Content_categories page-type: guide --- {{HTMLSidebar}} Most [HTML](/en-US/docs/Web/HTML) elements are a member of one or more **content categories** — these categories group elements that share common characteristics. This is a loose grouping (it doesn't actually create a...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/attributes/index.md
--- title: HTML attribute reference slug: Web/HTML/Attributes page-type: landing-page --- {{HTMLSidebar("Attributes")}} Elements in HTML have **attributes**; these are additional values that configure the elements or adjust their behavior in various ways to meet the criteria the users want. ## Attribute list <table...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/crossorigin/index.md
--- title: "HTML attribute: crossorigin" slug: Web/HTML/Attributes/crossorigin page-type: html-attribute browser-compat: - html.elements.img.crossorigin - html.elements.link.crossorigin - html.elements.script.crossorigin - html.elements.video.crossorigin spec-urls: https://html.spec.whatwg.org/multipage/urls-an...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/elementtiming/index.md
--- title: "HTML attribute: elementtiming" slug: Web/HTML/Attributes/elementtiming page-type: html-attribute --- {{HTMLSidebar}} The **`elementtiming`** attribute is used to indicate that an element is flagged for tracking by {{domxref("PerformanceObserver")}} objects using the `"element"` type. For more details, see...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/placeholder/index.md
--- title: "HTML attribute: placeholder" slug: Web/HTML/Attributes/placeholder page-type: html-attribute browser-compat: - html.elements.input.placeholder - html.elements.textarea.placeholder --- {{HTMLSidebar}} The **`placeholder`** attribute defines the text displayed in a form control when the control has no v...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/multiple/index.md
--- title: "HTML attribute: multiple" slug: Web/HTML/Attributes/multiple page-type: html-attribute spec-urls: https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple --- {{HTMLSidebar}} The Boolean **`multiple`** attribute, if set, means the form control accepts one or more values. Valid for the {{HTMLE...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/step/index.md
--- title: "HTML attribute: step" slug: Web/HTML/Attributes/step page-type: html-attribute browser-compat: html.elements.input.step --- {{HTMLSidebar}} The **`step`** attribute is a number that specifies the granularity that the value must adhere to or the keyword `any`. It is valid for the numeric input types, inclu...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/maxlength/index.md
--- title: "HTML attribute: maxlength" slug: Web/HTML/Attributes/maxlength page-type: html-attribute browser-compat: - html.elements.input.maxlength - html.elements.textarea.maxlength --- {{HTMLSidebar}} The **`maxlength`** attribute defines the maximum [string length](/en-US/docs/Web/JavaScript/Reference/Global_...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/autocomplete/index.md
--- title: "HTML attribute: autocomplete" slug: Web/HTML/Attributes/autocomplete page-type: html-attribute browser-compat: html.global_attributes.autocomplete --- {{HTMLSidebar}} The HTML `autocomplete` attribute lets web developers specify what if any permission the {{Glossary("user agent")}} has to provide automate...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/disabled/index.md
--- title: "HTML attribute: disabled" slug: Web/HTML/Attributes/disabled page-type: html-attribute browser-compat: - html.elements.button.disabled - html.elements.fieldset.disabled - html.elements.input.disabled - html.elements.optgroup.disabled - html.elements.option.disabled - html.elements.select.disable...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/required/index.md
--- title: "HTML attribute: required" slug: Web/HTML/Attributes/required page-type: html-attribute --- {{HTMLSidebar}} The [Boolean](/en-US/docs/Glossary/Boolean/HTML) **`required`** attribute, if present, indicates that the user must specify a value for the input before the owning form can be submitted. The `requir...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/capture/index.md
--- title: "HTML attribute: capture" slug: Web/HTML/Attributes/capture page-type: html-attribute browser-compat: html.elements.input.capture --- {{HTMLSidebar}} The **`capture`** attribute specifies that, optionally, a new file should be captured, and which device should be used to capture that new media of a type de...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/for/index.md
--- title: "HTML attribute: for" slug: Web/HTML/Attributes/for page-type: html-attribute browser-compat: - html.elements.label.for - html.elements.output.for --- {{HTMLSidebar}} The **`for`** attribute is an allowed attribute for {{htmlelement("label")}} and {{htmlelement("output")}}. When used on a `<label>` ele...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/size/index.md
--- title: "HTML attribute: size" slug: Web/HTML/Attributes/size page-type: html-attribute browser-compat: html.elements.attribute.size --- {{HTMLSidebar}} The **`size`** attribute defines the width of the {{htmlelement('input')}} and the height of the {{htmlelement('select')}} element. For the `input`, if the `type`...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/readonly/index.md
--- title: "HTML attribute: readonly" slug: Web/HTML/Attributes/readonly page-type: html-attribute browser-compat: - html.elements.input.readonly - html.elements.textarea.readonly --- {{HTMLSidebar}} The Boolean **`readonly`** attribute, when present, makes the element not mutable, meaning the user can not edit t...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/min/index.md
--- title: "HTML attribute: min" slug: Web/HTML/Attributes/min page-type: html-attribute browser-compat: - html.elements.input.min - html.elements.meter.min --- {{HTMLSidebar}} The **`min`** attribute defines the minimum value that is acceptable and valid for the input containing the attribute. If the [`value`](/...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/accept/index.md
--- title: "HTML attribute: accept" slug: Web/HTML/Attributes/accept page-type: html-attribute browser-compat: html.elements.input.accept --- {{HTMLSidebar}} The **`accept`** attribute takes as its value a comma-separated list of one or more file types, or [unique file type specifiers](#unique_file_type_specifiers), ...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/dirname/index.md
--- title: "HTML attribute: dirname" slug: Web/HTML/Attributes/dirname page-type: html-attribute browser-compat: - html.elements.textarea.dirname - html.elements.input.dirname --- {{HTMLSidebar}} The **`dirname`** attribute can be used on {{htmlelement("textarea")}} and {{htmlelement("input")}} elements and descr...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/rel/index.md
--- title: "HTML attribute: rel" slug: Web/HTML/Attributes/rel page-type: html-attribute browser-compat: - html.elements.link.rel - html.elements.a.rel - html.elements.area.rel --- {{HTMLSidebar}} The **`rel`** attribute defines the relationship between a linked resource and the current document. Valid on {{htm...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/me/index.md
--- title: rel=me slug: Web/HTML/Attributes/rel/me page-type: html-attribute-value browser-compat: html.elements.link.rel.me --- {{HTMLSidebar}} The **`me`** keyword for the [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute of the {{HTMLElement("link")}} and {{HTMLElement("a")}} elements indicates that the cur...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/noopener/index.md
--- title: rel=noopener slug: Web/HTML/Attributes/rel/noopener page-type: html-attribute-value browser-compat: html.elements.a.rel.noopener --- {{HTMLSidebar}} The **`noopener`** keyword for the [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute of the {{HTMLElement("a")}}, {{HTMLElement("area")}}, and {{HTMLElem...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/preconnect/index.md
--- title: rel=preconnect slug: Web/HTML/Attributes/rel/preconnect page-type: html-attribute-value browser-compat: html.elements.link.rel.preconnect --- {{HTMLSidebar}} The **`preconnect`** keyword for the [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute of the {{HTMLElement("link")}} element is a hint to bro...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/noreferrer/index.md
--- title: rel=noreferrer slug: Web/HTML/Attributes/rel/noreferrer page-type: html-attribute-value browser-compat: html.elements.a.rel.noreferrer --- {{HTMLSidebar}} The **`noreferrer`** keyword for the [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute of the {{HTMLElement("a")}}, {{HTMLElement("area")}}, and {{...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/manifest/index.md
--- title: rel=manifest slug: Web/HTML/Attributes/rel/manifest page-type: html-attribute-value status: - experimental browser-compat: html.elements.link.rel.manifest --- {{HTMLSidebar}}{{SeeCompatTable}} The **`manifest`** keyword for the [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute of the {{HTMLElement...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/prefetch/index.md
--- title: rel=prefetch slug: Web/HTML/Attributes/rel/prefetch page-type: html-attribute-value browser-compat: html.elements.link.rel.prefetch --- {{HTMLSidebar}} The **`prefetch`** keyword for the [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute of the {{HTMLElement("link")}} element provides a hint to brows...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/preload/index.md
--- title: rel=preload slug: Web/HTML/Attributes/rel/preload page-type: html-attribute-value browser-compat: html.elements.link.rel.preload --- {{HTMLSidebar}} The `preload` value of the {{htmlelement("link")}} element's [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute lets you declare fetch requests in the H...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/dns-prefetch/index.md
--- title: rel=dns-prefetch slug: Web/HTML/Attributes/rel/dns-prefetch page-type: html-attribute-value browser-compat: html.elements.link.rel.dns-prefetch --- {{HTMLSidebar}} The **`dns-prefetch`** keyword for the [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute of the {{HTMLElement("link")}} element is a hin...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/prerender/index.md
--- title: rel=prerender slug: Web/HTML/Attributes/rel/prerender page-type: html-attribute-value status: - deprecated - non-standard browser-compat: html.elements.link.rel.prerender --- {{HTMLSidebar}}{{Deprecated_Header}}{{Non-standard_header}} The **`prerender`** keyword for the [`rel`](/en-US/docs/Web/HTML/Ele...
0
data/mdn-content/files/en-us/web/html/attributes/rel
data/mdn-content/files/en-us/web/html/attributes/rel/modulepreload/index.md
--- title: rel=modulepreload slug: Web/HTML/Attributes/rel/modulepreload page-type: html-attribute-value browser-compat: html.elements.link.rel.modulepreload --- {{HTMLSidebar}} The **`modulepreload`** keyword, for the [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute of the {{HTMLElement("link")}} element, prov...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/minlength/index.md
--- title: "HTML attribute: minlength" slug: Web/HTML/Attributes/minlength page-type: html-attribute browser-compat: - html.elements.input.minlength - html.elements.textarea.minlength --- {{HTMLSidebar}} The **`minlength`** attribute defines the minimum [string length](/en-US/docs/Web/JavaScript/Reference/Global_...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/pattern/index.md
--- title: "HTML attribute: pattern" slug: Web/HTML/Attributes/pattern page-type: html-attribute browser-compat: html.elements.input.pattern --- {{HTMLSidebar}} The **`pattern`** attribute specifies a [regular expression](/en-US/docs/Web/JavaScript/Guide/Regular_expressions) the form control's value should match. If ...
0
data/mdn-content/files/en-us/web/html/attributes
data/mdn-content/files/en-us/web/html/attributes/max/index.md
--- title: "HTML attribute: max" slug: Web/HTML/Attributes/max page-type: html-attribute browser-compat: - html.elements.input.max - html.elements.meter.max - html.elements.progress.max --- {{HTMLSidebar}} The **`max`** attribute defines the maximum value that is acceptable and valid for the input containing th...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/date_and_time_formats/index.md
--- title: Date and time formats used in HTML slug: Web/HTML/Date_and_time_formats page-type: guide --- {{HTMLSidebar}} Certain HTML elements use date and/or time values. The formats of the strings that specify these values are described in this article. Elements that use such formats include certain forms of the {{...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/viewport_meta_tag/index.md
--- title: Viewport meta tag slug: Web/HTML/Viewport_meta_tag page-type: guide spec-urls: https://drafts.csswg.org/css-viewport/#viewport-meta --- {{HTMLSidebar}} This article describes how to use the "viewport" `<meta>` tag to control the viewport's size and shape. ## Background The browser's {{glossary("viewport"...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/reference/index.md
--- title: HTML reference slug: Web/HTML/Reference page-type: landing-page --- {{HTMLSidebar}} This [HTML](/en-US/docs/Web/HTML) reference describes all **elements** and **attributes** of HTML, including **global attributes** that apply to all elements. - [HTML element reference](/en-US/docs/Web/HTML/Element) - : ...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/global_attributes/index.md
--- title: Global attributes slug: Web/HTML/Global_attributes page-type: landing-page browser-compat: html.global_attributes --- {{HTMLSidebar("Global_attributes")}} **Global attributes** are attributes common to all HTML elements; they can be used on all elements, though they may have no effect on some elements. Gl...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/hidden/index.md
--- title: hidden slug: Web/HTML/Global_attributes/hidden page-type: html-attribute browser-compat: html.global_attributes.hidden --- {{HTMLSidebar("Global_attributes")}} The **`hidden`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an {{Glossary("enumerated")}} attribute indicating that the browser ...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/spellcheck/index.md
--- title: spellcheck slug: Web/HTML/Global_attributes/spellcheck page-type: html-attribute browser-compat: html.global_attributes.spellcheck --- {{HTMLSidebar("Global_attributes")}} The **`spellcheck`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary/Enumerated) att...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/dir/index.md
--- title: dir slug: Web/HTML/Global_attributes/dir page-type: html-attribute browser-compat: html.global_attributes.dir --- {{HTMLSidebar("Global_attributes")}} The **`dir`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary/Enumerated) attribute that indicates the di...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/title/index.md
--- title: title slug: Web/HTML/Global_attributes/title page-type: html-attribute browser-compat: html.global_attributes.title --- {{HTMLSidebar("Global_attributes")}} The **`title`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) contains text representing advisory information related to the element it b...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/itemref/index.md
--- title: itemref slug: Web/HTML/Global_attributes/itemref page-type: html-attribute browser-compat: html.global_attributes.itemref --- {{HTMLSidebar("Global_attributes")}} Properties that are not descendants of an element with the [`itemscope`](/en-US/docs/Web/HTML/Global_attributes/itemscope) attribute can be asso...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/itemid/index.md
--- title: itemid slug: Web/HTML/Global_attributes/itemid page-type: html-attribute browser-compat: html.global_attributes.itemid --- {{HTMLSidebar("Global_attributes")}} The **`itemid`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) provides microdata in the form of a unique, global identifier of an ite...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/popover/index.md
--- title: popover slug: Web/HTML/Global_attributes/popover page-type: html-attribute browser-compat: html.global_attributes.popover --- {{HTMLSidebar("Global_attributes")}} The **`popover`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is used to designate an element as a popover element. Popover elem...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/nonce/index.md
--- title: nonce slug: Web/HTML/Global_attributes/nonce page-type: html-attribute browser-compat: html.global_attributes.nonce --- {{HTMLSidebar("Global_attributes")}} The **`nonce`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is a content attribute defining a cryptographic nonce ("number used once") ...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/enterkeyhint/index.md
--- title: enterkeyhint slug: Web/HTML/Global_attributes/enterkeyhint page-type: html-attribute browser-compat: html.global_attributes.enterkeyhint --- {{HTMLSidebar("Global_attributes")}} The **`enterkeyhint`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary/Enumera...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/contenteditable/index.md
--- title: contenteditable slug: Web/HTML/Global_attributes/contenteditable page-type: html-attribute browser-compat: html.global_attributes.contenteditable --- {{HTMLSidebar("Global_attributes")}} The **`contenteditable`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an enumerated attribute indicati...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/class/index.md
--- title: class slug: Web/HTML/Global_attributes/class page-type: html-attribute browser-compat: html.global_attributes.class --- {{HTMLSidebar("Global_attributes")}} The **`class`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is a space-separated list of the case-sensitive classes of the element. Cla...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/style/index.md
--- title: style slug: Web/HTML/Global_attributes/style page-type: html-attribute browser-compat: html.global_attributes.style --- {{HTMLSidebar("Global_attributes")}} The **`style`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to t...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/exportparts/index.md
--- title: exportparts slug: Web/HTML/Global_attributes/exportparts page-type: html-attribute browser-compat: html.global_attributes.exportparts --- {{HTMLSidebar("Global_attributes")}} The **`exportparts`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) allows you to select and style elements existing in...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/tabindex/index.md
--- title: tabindex slug: Web/HTML/Global_attributes/tabindex page-type: html-attribute browser-compat: html.global_attributes.tabindex --- {{HTMLSidebar("Global_attributes")}} The **`tabindex`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) allows developers to make HTML elements focusable, allow or pre...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/lang/index.md
--- title: lang slug: Web/HTML/Global_attributes/lang page-type: html-attribute browser-compat: html.global_attributes.lang --- {{HTMLSidebar("Global_attributes")}} The **`lang`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) helps define the language of an element: the language that non-editable element...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/itemprop/index.md
--- title: itemprop slug: Web/HTML/Global_attributes/itemprop page-type: html-attribute browser-compat: html.global_attributes.itemprop --- {{HTMLSidebar("Global_attributes")}} The **`itemprop`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is used to add properties to an item. Every HTML element can ha...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/autofocus/index.md
--- title: autofocus slug: Web/HTML/Global_attributes/autofocus page-type: html-attribute browser-compat: html.global_attributes.autofocus --- {{HTMLSidebar("Global_attributes")}} The **`autofocus`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is a Boolean attribute indicating that an element should be...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/translate/index.md
--- title: translate slug: Web/HTML/Global_attributes/translate page-type: html-attribute browser-compat: html.global_attributes.translate --- {{HTMLSidebar("Global_attributes")}} The **`translate`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary/Enumerated) attribu...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/part/index.md
--- title: part slug: Web/HTML/Global_attributes/part page-type: html-attribute browser-compat: html.global_attributes.part --- {{HTMLSidebar("Global_attributes")}} The **`part`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) contains a space-separated list of the part names of the element. Part names al...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/is/index.md
--- title: is slug: Web/HTML/Global_attributes/is page-type: html-attribute browser-compat: html.global_attributes.is --- {{HTMLSidebar("Global_attributes")}} The **`is`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) allows you to specify that a standard HTML element should behave like a defined custom ...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/itemscope/index.md
--- title: itemscope slug: Web/HTML/Global_attributes/itemscope page-type: html-attribute browser-compat: html.global_attributes.itemscope --- {{HTMLSidebar("Global_attributes")}} **`itemscope`** is a boolean [global attribute](/en-US/docs/Web/HTML/Global_attributes) that defines the scope of associated metadata. Spe...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/virtualkeyboardpolicy/index.md
--- title: virtualkeyboardpolicy slug: Web/HTML/Global_attributes/virtualkeyboardpolicy page-type: html-attribute status: - experimental browser-compat: html.global_attributes.virtualkeyboardpolicy --- {{HTMLSidebar("Global_attributes")}}{{SeeCompatTable}} The **`virtualkeyboardpolicy`** [global attribute](/en-US/d...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/data-_star_/index.md
--- title: data-* slug: Web/HTML/Global_attributes/data-* page-type: html-attribute browser-compat: html.global_attributes.data_attributes --- {{HTMLSidebar("Global_attributes")}} The **`data-*`** [global attributes](/en-US/docs/Web/HTML/Global_attributes) form a class of attributes called **custom data attributes**,...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/id/index.md
--- title: id slug: Web/HTML/Global_attributes/id page-type: html-attribute browser-compat: html.global_attributes.id --- {{HTMLSidebar("Global_attributes")}} The **`id`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) defines an identifier (ID) which must be unique in the whole document. Its purpose is t...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/itemtype/index.md
--- title: itemtype slug: Web/HTML/Global_attributes/itemtype page-type: html-attribute browser-compat: html.global_attributes.itemtype --- {{HTMLSidebar("Global_attributes")}} The [global attribute](/en-US/docs/Web/HTML/Global_attributes) **`itemtype`** specifies the URL of the vocabulary that will be used to define...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/contextmenu/index.md
--- title: contextmenu slug: Web/HTML/Global_attributes/contextmenu page-type: html-attribute status: - deprecated - non-standard browser-compat: html.global_attributes.contextmenu --- {{HTMLSidebar("Global_attributes")}}{{Deprecated_Header}}{{Non-standard_header}} The **`contextmenu`** [global attribute](/en-US/...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/inert/index.md
--- title: inert slug: Web/HTML/Global_attributes/inert page-type: html-attribute browser-compat: html.global_attributes.inert --- {{HTMLSidebar("Global_attributes")}} The **`inert`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is a Boolean attribute indicating that the browser will ignore the element....
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/accesskey/index.md
--- title: accesskey slug: Web/HTML/Global_attributes/accesskey page-type: html-attribute browser-compat: html.global_attributes.accesskey --- {{HTMLSidebar("Global_attributes")}} The **`accesskey`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) provides a hint for generating a keyboard shortcut for the ...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/draggable/index.md
--- title: draggable slug: Web/HTML/Global_attributes/draggable page-type: html-attribute browser-compat: html.global_attributes.draggable --- {{HTMLSidebar("Global_attributes")}} The **`draggable`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary/Enumerated) attribu...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/inputmode/index.md
--- title: inputmode slug: Web/HTML/Global_attributes/inputmode page-type: html-attribute browser-compat: html.global_attributes.inputmode --- {{HTMLSidebar("Global_attributes")}} The **`inputmode`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary/Enumerated) attribu...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/slot/index.md
--- title: slot slug: Web/HTML/Global_attributes/slot page-type: html-attribute browser-compat: html.global_attributes.slot --- {{HTMLSidebar("Global_attributes")}} The **`slot`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) assigns a slot in a [shadow DOM](/en-US/docs/Web/API/Web_components/Using_shado...
0
data/mdn-content/files/en-us/web/html/global_attributes
data/mdn-content/files/en-us/web/html/global_attributes/autocapitalize/index.md
--- title: autocapitalize slug: Web/HTML/Global_attributes/autocapitalize page-type: html-attribute browser-compat: html.global_attributes.autocapitalize --- {{HTMLSidebar("Global_attributes")}} The **`autocapitalize`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) is an [enumerated](/en-US/docs/Glossary...
0
data/mdn-content/files/en-us/web/html
data/mdn-content/files/en-us/web/html/constraint_validation/index.md
--- title: Constraint validation slug: Web/HTML/Constraint_validation page-type: guide --- {{HTMLSidebar}} The creation of web forms has always been a complex task. While marking up the form itself is easy, checking whether each field has a valid and coherent value is more difficult, and informing the user about the ...
0