HTML documentation index

Found 233 pages:

# Page Tags and summary
1 HTML: HyperText Markup Language HTML, HTML5, Landing, Web, l10n:priority
HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript).
2 Applying color to HTML elements using CSS Beginner, CSS, CSS Colors, Guide, HTML, HTML Colors, HTML Styles, Styling HTML, color
This article is a primer introducing each of the ways CSS color can be used in HTML.
3 HTML attribute reference Attribute, Attributes, Beginner, Configuring, Element Attributes, Elements, HTML, Reference, Settings, Web
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.
4 HTML attribute: accept Accept, Attribute, File, HTML, Input, Reference
The accept attribute takes as its value a comma-separated list of one or more file types, or Unique file type specifiers, describing which file types to allow.
5 The HTML autocomplete attribute Addresses, Attribute, Email addresses, Forms, HTML, Input, Phone Numbers, Reference, Select, Text, Usernames, autocomplete, form, passwords, textarea
The HTML autocomplete attribute lets web developers specify what if any permission the user agent has to provide automated assistance in filling out form field values, as well as guidance to the browser as to the type of information expected in the field.
6 HTML attribute: capture API, Attribute, Attributes, Capture, Constraint validation, HTML
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 defined by the accept attribute.
7 HTML attribute: crossorigin Advanced, Attribute, CORS, HTML, NeedsContent, Reference, Security
The crossorigin attribute, valid on the audio, img, link, script, and video elements, provides support for CORS, defining how the element handles crossorigin requests, thereby enabling the configuration of the CORS requests for the element's fetched data. Depending on the element, the attribute can be a CORS settings attribute.
8 disabled Attribute, Attributes, Constraint validation, Forms, required
The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
9 HTML attribute: elementtiming Attribute, Attributes, HTML, Performance, Reference, elementtiming
The elementtiming attribute is used to indicate that an element is flagged for tracking by the Element Timing API. This attribute may be applied to img, image elements inside an svg, poster images of video elements, elements which have a background-image, and elements containing text nodes, such as a p.
10 HTML attribute: for Attribute, Attributes, HTML, Reference, for
The for attribute is an allowed attribute for label and output. When used on a <label> element it indicates the form element that this label describes. When used on an <output> element it allows for an explicit relationship between the elements that represent values which are used in the output.
11 HTML attribute: max Attribute, Attributes, Constraint validation, HTML, Reference, max
The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute. If the value of the element is greater than this, the element fails constraint validation. This value must be greater than or equal to the value of the min attribute. If the max attribute is present by is not specified or is invalid, no max value is applied. If the max attribute is valid and a non-empty value is greater than the maximum allowed by the max attribute, constraint validation will prevent form submission.
12 HTML attribute: maxlength Attribute, Attributes, Constraint validation, HTML, Input, Reference, maxlength, textarea
The maxlength attribute defines the maximum number of characters (as UTF-16 code units) the user can enter into an input or textarea. This must be an integer value 0 or higher.
13 HTML attribute: min Attribute, Attributes, Constraint validation, HTML, Reference, min
The min attribute defines the minimum value that is acceptable and valid for the input containing the attribute. If the value of the element is less than this, the element fails constraint validation. This value must be less than or equal to the value of the max attribute. If a value is specified for min that isn't a valid number, the input has no minimum value.
14 HTML attribute: minlength Attribute, Attributes, Constraint validation, HTML, Input, Reference, minlength, textarea
The minlength attribute defines the minimum number of characters (as UTF-16 code units) the user can enter into an input or textarea. This must be an integer value 0 or higher. If no minlength is specified, or an invalid value is specified, the input has no minimum length. This value must be less than or equal to the value of maxlength, otherwise the value will never be valid, as it is impossible to meet both criteria.
15 HTML attribute: multiple Attribute, Attributes, Constraint validation, HTML
The Boolean multiple attribute, if set, means the form control accepts one or more values. Valid for the input/email and input/file input types and the select, the manner by which the user opts for multiple values depends on the form control.
16 HTML attribute: pattern Attribute, Attributes, Constraint Validation API, HTML, Reference
The pattern attribute specifies a regular expression the form control's value should match. If a non-null value doesn't conform to the constraints set by the pattern value, the ValidityState object's read-only ValidityState.patternMismatch property will be true.
17 HTML attribute: readonly Attribute, Attributes, Constraint validation, Forms, required
The Boolean readonly attribute, when present, makes the element not mutable, meaning the user can not edit the control.
18 HTML attribute: rel Attribute, Attributes, Constraint validation, Link, form, rel
The rel attribute defines the relationship between a linked resource and the current document. Valid on link, a, area, and form, the supported values depend on the element on which the attribute is found.
19 HTML attribute: required Attribute, Attributes, Constraint validation, Forms, required
The Boolean required attribute, if present, indicates that the user must specify a value for the input before the owning form can be submitted.
20 HTML attribute: size Attribute, HTML, Input, Reference, Select
The size attribute defines the width of the input and the height of the select element. For the input, if the type attribute is input/text or input/password then it's the number of characters. This must be an integer value 0 or higher. If no size is specified, or an invalid value is specified, the input has no size declared, and the form control will be the default width based on the user agent. If CSS targets the element with properties impacting the width, CSS takes precedence.
21 HTML attribute: step Attribute, Attributes, Constraint validation, HTML, Reference, step
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, including the input/date, input/month, input/week, input/time, input/datetime-local, input/number and input/range types.
22 Block-level elements Beginner, Development, Guide, HTML, HTML5, Web
In this article, we'll examine HTML block-level elements and how they differ from inline-level elements.
23 Allowing cross-origin use of images and canvas Advanced, CORS, Canvas, HTML, Image, Reference, Security, Storage, data
HTML provides a crossorigin attribute for images that, in combination with an appropriate CORS header, allows images defined by the img element that are loaded from foreign origins to be used in a canvas as if they had been loaded from the current origin.
24 Date and time formats used in HTML Date, Element, Format, HTML, ISO 8601, Input, Reference, String, Time, Week, datetime, datetime-local, del, ins, month, month-year, week-year
Certain HTML elements use date and/or time values. The formats of the strings that specify these values are described in this article.
25 HTML elements reference Basic, Element, HTML, Reference, Web, l10n:priority
This page lists all the HTML Element, which are created using Tag.
26 <a>: The Anchor element Content, Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Interactive content, HTML:Palpable Content, HTML:Phrasing content, Inline element, Reference, Web
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.
27 <abbr>: The Abbreviation element Acronym, Definitions, Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web, abbr, abbreviation, semantics
The <abbr> HTML element represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for the abbreviation. If present, title must contain this full description and nothing else.
28 <acronym> Deprecated, Element, HTML, HTML:Flow content, Reference, Web
The <acronym> HTML element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.
29 <address>: The Contact Address element Address, Author, Contact, Contact Information, Element, Email, Email Address, HTML, HTML sections, HTML:Flow content, HTML:Palpable Content, Reference, Web
The <address> HTML element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.
30 <applet>: The Embed Java Applet element Deprecated, Element, HTML, Java, Reference, Web, applet
The obsolete HTML Applet Element (<applet>) embeds a Java applet into the document; this element has been deprecated in favor of object.
31 <area>: The Image Map Area element Content, Element, HTML, HTML:Flow content, HTML:Phrasing content, Multimedia, Reference, Web
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 Hyperlink.
32 <article>: The Article Contents element Element, HTML, HTML sections, Reference, Web
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.
33 <aside>: The Aside element Element, HTML, HTML sections, HTML5, HTML:Flow content, HTML:Palpable Content, HTML:Sectioning content, Reference, Web
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.
34 <audio>: The Embed Audio element Audio, Element, HTML, HTML embedded content, HTML5, HTML:Embedded content, HTML:Flow content, HTML:Phrasing content, Media, Multimedia, Reference, Web, sound
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.
35 <b>: The Bring Attention To element Attention, Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web
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; instead, you should use the CSS font-weight property to create boldface text, or the strong element to indicate that text is of special importance.
36 <base>: The Document Base URL element Element, HTML, HTML document metadata, HTML:Metadata content, Reference
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.
37 <basefont> Deprecated, Element, Fonts, HTML, Layout, Reference, Style, Web, basefont
The <basefont> HTML element is deprecated. It sets a default font face, size, and color for the other elements which are descended from its parent element. With this set, the font's size can then be varied relative to the base size using the font element.
38 <bdi>: The Bidirectional Isolate element BDI, BiDi, Directionality, Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Internationalization, Left-to-Right, Reference, Right-to-left, Text, Web, direction, i18n, ltr, rtl
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.
39 <bdo>: The Bidirectional Text Override element BiDi, Bidirectional Text, Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Left to Right, Reference, Right to Left, Text, Text Direction, Text Rendering, Web, ltr, rtl
The <bdo> HTML element overrides the current directionality of text, so that the text within is rendered in a different direction.
40 <bgsound>: The Background Sound element Audio, Background Sound, Deprecated, Element, HTML, Internet Explorer, Non-standard, Reference, Web
The <bgsound> HTML element is deprecated. It sets up a sound file to play in the background while the page is used; use audio instead.
41 <big>: The Bigger Text element Deprecated, Element, HTML, Reference, Web
The <big> HTML deprecated element renders the enclosed text at a font size one level larger than the surrounding text (medium becomes large, for example). The size is capped at the browser's maximum permitted font size.
42 <blink>: The Blinking Text element Blink, Deprecated, Element, HTML, Reference, Web
The <blink> HTML element is a non-standard element which causes the enclosed text to flash slowly.
43 <blockquote>: The Block Quotation element Blockquote, Element, HTML, HTML grouping content, HTML:Flow content, HTML:Palpable Content, HTML:Sectioning root, Quotations, Reference, Web
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.
44 <body>: The Document Body element Element, HTML, Reference, Sectioning Root Element, Sections, Web
The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document.
45 <br>: The Line Break element Element, HTML, HTML text-level semantics, Reference, Web
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.
46 <button>: The Button element Element, Forms, HTML, HTML forms, Reference, Web
The <button> HTML element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality.
47 <canvas>: The Graphics Canvas element Canvas, Element, HTML, HTML scripting, HTML5, Reference, Web
Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.
48 <caption>: The Table Caption element Element, HTML, HTML Tables, HTML tabular data, Reference, Table Captions, Table Titles, Tables, Web, caption
The <caption> HTML element specifies the caption (or title) of a table.
49 <center>: The Centered Text element Deprecated, Element, HTML, Reference, Text, Text Alignment, Web, alignment, center
The <center> HTML element is a block-level element that displays its block-level or inline contents centered horizontally within its containing element. The container is usually, but isn't required to be, body.
50 <cite>: The Citation element Attribution, Citation, Citing References, Citing Works, Element, HTML, HTML text-level semantics, Quotations, Reference, Web
The <cite> HTML element is used to describe a reference to a cited creative work, and must include the title of that work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.
51 <code>: The Inline Code element Code, Element, HTML, HTML text-level semantics, Inline Code, Reference, Web
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 default monospace font.
52 <col>: The Table Column element Element, HTML, HTML tabular data, Reference, Tables, Web
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.
53 <colgroup>: The Table Column Group element Element, HTML, HTML tabular data, Reference, Tables, Web
The <colgroup> HTML element defines a group of columns within a table.
54 <content>: The Shadow DOM Content Placeholder element Content, DOM, Deprecated, Element, HTML, HTML Web Components, Placeholder, Reference, Web, Web Components, shadow dom
The <content> HTML element—an obsolete part of the Web Components suite of technologies—was used inside of Shadow DOM as an insertion point, and wasn't meant to be used in ordinary HTML. It has now been replaced by the slot element, which creates a point in the DOM at which a shadow DOM can be inserted.
55 <data>: The Data element Element, HTML, HTML text-level semantics, Reference, Web
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.
56 <datalist>: The HTML Data List element Element, HTML, HTML forms, HTML5, Reference, Web
The <datalist> HTML element contains a set of option elements that represent the permissible or recommended options available to choose from within other controls.
57 <dd>: The Description Details element Definition, Description Details, Description list, Element, HTML, HTML grouping content, Reference, Web, dd, details
The <dd> HTML element provides the description, definition, or value for the preceding term (dt) in a description list (dl).
58 <del>: The Deleted Text element Deleted Text, Element, HTML, HTML edits, Reference, Web, 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.
59 <details>: The Details disclosure element Disclosure Box, Disclosure Widget, Element, HTML, HTML interactive elements, Reference, Web, 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.
60 <dfn>: The Definition element Definition, Definitions, Element, HTML, HTML text-level semantics, Reference, Semantic Markup, Web, dfn
The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence. The p element, the dt/dd pairing, or the section element which is the nearest ancestor of the <dfn> is considered to be the definition of the term.
61 <dialog>: The Dialog element Dialog, Element, HTML, HTML interactive elements, Reference, Web, polyfill
The <dialog> HTML element represents a dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.
62 <dir>: The Directory element Deprecated, Directory, Element, HTML, HTML Lists, Reference, Web, dir, lists
The <dir> HTML element is used as a container for a directory of files and/or folders, potentially with styles and icons applied by the user agent. Do not use this obsolete element; instead, you should use the ul element for lists, including lists of files.
63 <div>: The Content Division element Content Division, Element, HTML, HTML grouping content, HTML:Flow content, Layout, Reference, Web, 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).
64 <dl>: The Description List element Definition List, Description list, Element, HTML, HTML grouping content, HTML:Flow content, HTML:Palpable Content, Reference, Web
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).
65 <dt>: The Description Term element Definition, Definition Term, Description Term, Description list, Element, HTML, HTML grouping content, Reference, Term, Web, 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.
66 <em>: The Emphasis element Element, HTML, HTML text-level semantics, Reference, Web
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.
67 <embed>: The Embed External Content element Element, Embedding Content, External content, HTML, HTML embedded content, HTML5, Plugins, Reference, Web, 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.
68 <fieldset>: The Field Set element Element, Forms, HTML, HTML forms, Reference, Web
The <fieldset> HTML element is used to group several controls as well as labels (label) within a web form.
69 <figcaption>: The Figure Caption element Element, HTML, HTML grouping content, Reference
The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent figure element.
70 <figure>: The Figure with Optional Caption element Element, HTML, HTML grouping content, Information, Presentation, Reference, 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.
71 <font> Deprecated, Element, HTML, Reference, Web
The <font> HTML element defines the font size, color and face for its content.
72 <footer> Element, HTML, HTML sections, Reference
The <footer> HTML element represents a footer for its nearest sectioning content or sectioning root element. A <footer> typically contains information about the author of the section, copyright data or links to related documents.
73 <form>: The Form element Element, Form Element, Forms, HTML, HTML Form Element, HTML forms, Reference, Web
The <form> HTML element represents a document section containing interactive controls for submitting information.
74 <frame> Deprecated, Element, HTML, Reference, Web
The <frame> HTML element defines a particular area in which another HTML document can be displayed. A frame should be used within a frameset.
75 <frameset> Deprecated, Element, HTML, Reference, Web
The <frameset> HTML element is used to contain frame elements.
76 <head>: The Document Metadata (Header) element Element, HTML, HTML document metadata, HTML:Metadata content, Reference, Web
The <head> HTML element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets.
77 <header> Element, HTML, HTML sections, Reference
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.
78 <h1>–<h6>: The HTML Section Heading elements Element, HTML, HTML sections, Reference, Web
The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.
79 <hgroup> Deprecated, Element, Experimental, HTML, HTML5, Reference, Web
The <hgroup> HTML element represents a multi-level heading for a section of a document. It groups a set of <h1>–<h6> elements.
80 <hr>: The Thematic Break (Horizontal Rule) element Element, HTML, HTML grouping content, Reference
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.
81 <html>: The HTML Document / Root element Element, HTML, HTML Root Element, Reference, Web
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.
82 manifest Cache, application cache
The manifest attribute of the <html> element specifies a URL of a application cache manifest that is downloaded in the early stages of page load.
83 <i>: The Idiomatic Text element Element, HTML, HTML text-level semantics, Reference, Web, em
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.
84 <iframe>: The Inline Frame element Content, Element, Embedded content, Embedding, Frames, HTML, HTML embedded content, Inline Frames, Reference, Web, embedded, iframe
The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.
85 <image>: The Image element Deprecated, Element, HTML, HTML Element Reference, HTML Reference, HTML element, Non-standard, Reference
The <image> HTML element is an ancient and poorly supported precursor to the img element. It should not be used.
86 <img>: The Image Embed element Content, Element, Graphics, HTML, HTML Graphics, HTML Images, HTML Photos, HTML Pictures, HTML embedded content, Image, Image Element, Media, Multimedia, Photos, Pictures, Reference, Web
The <img> HTML element embeds an image into the document.
87 <input>: The Input (Form Input) element Data entry, Element, Forms, HTML, HTML forms, HTML input tag, Input, MakeBrowserAgnostic, Reference, Web
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.
88 <input type="button"> Element, Forms, HTML, HTML forms, Input, Input Element, Input Type, Reference, button
input elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function (typically for the click event).
89 <input type="checkbox"> Element, HTML, HTML forms, Input, Input Types, Reference, checkbox, form
input elements of type checkbox are rendered by default as boxes that are checked (ticked) when activated, like you might see in an official government paper form. The exact appearance depends upon the operating system configuration under which the browser is running. Generally this is a square but it may have rounded corners. A checkbox allows you to select single values for submission in a form (or not).
90 <input type="color"> Color Picker, Element, Form input, Forms, HTML, HTML forms, HTML input, Input, Reference, color
input elements of type color provide a user interface element that lets a user specify a color, either by using a visual color picker interface or by entering the color into a text field in #rrggbb hexadecimal format.
91 <input type="date"> Date, Date picker, Element, Form Inputs, HTML, HTML forms, Input, Input Element, Input Type, Reference
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 special date picker interface.
92 <input type="datetime-local"> Date, Date and Time, Element, Form input, HTML, HTML forms, Input, Input Element, Input Type, Reference, Time, datetime-local
input elements of type datetime-local create input controls that let the user easily enter both a date and a time, including the year, month, and day as well as the time in hours and minutes.
93 <input type="datetime"> Deprecated, Element, HTML, HTML forms, Input, Input Element, Input Type, Reference, datetime
The HTML <input type="datetime"> was a control for entering a date and time (hour, minute, second, and fraction of a second) as well as a timezone. This feature has been removed from WHATWG HTML, and is no longer supported in browsers.
94 <input type="email"> Email, Forms, HTML, HTML forms, Input Type, Reference
input elements of type email are used to let the user enter and edit an e-mail address, or, if the multiple attribute is specified, a list of e-mail addresses.
95 <input type="file"> Directory Picker, File, File Picker, Files, Form input, HTML, HTML forms, Input Type, Reference, Type
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 a server using form submission, or manipulated using JavaScript code and the File API.
96 <input type="hidden"> Element, Forms, HTML, HTML forms, Input, Input Types, Reference, hidden
input elements of type hidden let web developers include data that cannot be seen or modified by users when a form is submitted. For example, the ID of the content that is currently being ordered or edited, or a unique security token. Hidden inputs are completely invisible in the rendered page, and there is no way to make it visible in the page's content.
97 <input type="image"> Element, Form Image, Form Image Button, Forms, HTML, HTML Image Button, HTML forms, Image Button, Input, Input Type, Number, Reference
input elements of type image are used to create graphical submit buttons, i.e. submit buttons that take the form of an image rather than text.
98 <input type="month"> Date picker, Element, Form input, Forms, HTML, HTML forms, HTML input, Input, Input Element, Input Type, Number, Reference, month
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 entered. The value is a string whose value is in the format "YYYY-MM", where YYYY is the four-digit year and MM is the month number.
99 <input type="number"> Element, Forms, HTML, HTML forms, Input, Input Element, Input Type, Number, Reference
input elements of type number are used to let the user enter a number. They include built-in validation to reject non-numerical entries.
100 <input type="password"> Element, Forms, HTML, HTML Input Types, HTML Inputs, HTML Password Input, HTML forms, HTML input tag, Input Types, Reference, Web, password
<input> elements of type password provide a way for the user to securely enter a password.
101 <input type="radio"> Choosing Options, Element, Form Options, HTML, HTML Input Types, HTML forms, HTML input, Input, Input Types, Options, Radio Buttons, Radio Groups, Reference, form, radio, radio button
input elements of type radio are generally used in radio groups—collections of radio buttons describing a set of related options.
102 <input type="range"> Element, Forms, HTML, HTML forms, HTML input tag, Input, Range, Reference, Web, slider
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 given value. The precise value, however, is not considered important. This is typically represented using a slider or dial control rather than a text entry box like the input/number input type.
103 <input type="reset"> Element, Form Button, Form input, Forms, HTML, HTML forms, Input, Input Types, Reference, Reset Button, reset
input elements of type reset are rendered as buttons, with a default click event handler that resets all of the inputs in the form to their initial values.
104 <input type="search"> Form input, Forms, HTML, HTML forms, Input Type, Reference, Search
input elements of type search are text fields designed for the user to enter search queries into. These are functionally identical to text inputs, but may be styled differently by the user agent.
105 <input type="submit"> Element, Form Button, Form input, HTML, HTML forms, Input, Input Types, Reference, Submit Form, button, form, submit, submit button
input elements of type submit are rendered as buttons. When the Element/click_event event occurs (typically because the user clicked the button), the user agent attempts to submit the form to the server.
106 <input type="tel"> Element, Form Inputs, Forms, HTML, HTML forms, HTML input, Input, Input Element, Input Type, Phone Numbers, Reference
input elements of type tel are used to let the user enter and edit a telephone number. Unlike <input type="email"> and <input type="url"> , the input value is not automatically validated to a particular format before the form can be submitted, because formats for telephone numbers vary so much around the world.
107 <input type="text"> Form input, Forms, HTML, HTML forms, Input, Input Type, Reference, Text, text entry, text input
input elements of type text create basic single-line text fields.
108 <input type="time"> Element, Forms, HTML, HTML Input Types, HTML forms, HTML input, Input, Input Element, Input Type, Reference, Time
input elements of type time create input fields designed to let the user easily enter a time (hours and minutes, and optionally seconds).
109 <input type="url"> Element, Form Control, Form Inputs, Forms, HTML, HTML Input Types, HTML forms, Input, Input Type, Reference, Text, URL, control
input elements of type url are used to let the user enter and edit a URL.
110 <input type="week"> Element, Forms, HTML, HTML Input Types, HTML forms, HTML input, Input, Input Element, Input Type, Input Types, Reference, Week, Weeks
input elements of type week create input fields allowing easy entry of a year plus the ISO 8601 week number during that year (i.e., week 1 to 52 or 53).
111 <ins> Element, HTML, HTML edits, Inserted Text, Insertion, Reference, Web, 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.
112 <kbd>: The Keyboard Input element Displaying Input, Displaying Keys, Displaying Keystrokes, Displaying User Input, Element, HTML, HTML text-level semantics, Keyboard Input, Keystroke, Reference, Web, keyboard, user input
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.
113 <keygen> Deprecated, Deprecated, Element, HTML, HTML5, Reference, Web
The <keygen> HTML element exists to facilitate generation of key material, and submission of the public key as part of an HTML form. This mechanism is designed for use with Web-based certificate management systems. It is expected that the <keygen> element will be used in an HTML form along with other information needed to construct a certificate request, and that the result of the process will be a signed certificate.
114 <label>: The Input Label element Element, Forms, HTML, HTML forms, Reference, Web
The <label> HTML element represents a caption for an item in a user interface.
115 <legend>: The Field Set Legend element Element, Forms, HTML, HTML forms, Reference, Web
The <legend> HTML element represents a caption for the content of its parent fieldset.
116 <li>: The List Item element Element, HTML, HTML grouping content, Reference
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.
117 <link>: The External Resource Link element Element, HTML, HTML document metadata, Link, Reference, Web, Web Performance, metadata
The <link> HTML element specifies relationships between the current document and an external resource. This element is most commonly used to link to CSS, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
118 <main> Element, HTML, HTML sections, Reference, 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.
119 <map>: The Image Map element Element, HTML, HTML embedded content, Multimedia, Reference, Web
The <map> HTML element is used with area elements to define an image map (a clickable link area).
120 <mark>: The Mark Text element Element, HTML, HTML text-level semantics, HTML5, Highlighting, Highlighting Text, Marking Text, Reference, Web, mark
The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes, due to the marked passage's relevance or importance in the enclosing context.
121 <marquee>: The Marquee element Deprecated, Element, HTML, Reference, Web, marquee
The <marquee> HTML element is used to insert a scrolling area of text. You can control what happens when the text reaches the edges of its content area using its attributes.
122 <menu>: The Menu element Element, Experimental, HTML, HTML interactive elements, Navigation, Reference, Site Navigation, UI, UX, User Interface, User experience, Web, menu, menus
The <menu> HTML element is a semantic alternative to ul. It represents an unordered list of items (represented by li elements), each of these represent a link or other command that the user can activate.
123 <menuitem> Deprecated, Element, HTML, HTML5, Navigation, Navigation Menus, Reference, UI, UX, User Interface, User experience, Web, menuitem
The <menuitem> HTML element represents a command that a user is able to invoke through a popup menu. This includes context menus, as well as menus that might be attached to a menu button.
124 <meta>: The metadata element Document, Element, HTML, HTML charset, HTML document metadata, Reference, Web, charset, http-equiv, metadata
The <meta> HTML element represents Metadata that cannot be represented by other HTML meta-related elements, like base, link, script, style or title.
125 Standard metadata names Attribute, HTML, HTML document metadata, Reference, metadata
The meta element can be used to provide document metadata in terms of name-value pairs, with the name attribute giving the metadata name, and the content attribute giving the value.
126 theme-color Attribute, HTML, HTML document metadata, Reference, metadata
The theme-color value for the name attribute of the meta element indicates a suggested color that user agents should use to customize the display of the page or of the surrounding user interface. If specified, the content attribute must contain a valid CSS <color>.
127 <meter>: The HTML Meter element Element, HTML, HTML forms, HTML5, Reference, Web
The <meter> HTML element represents either a scalar value within a known range or a fractional value.
128 <nav>: The Navigation Section element Element, HTML, HTML sections, Links, Navigation, Reference, Sections, Web, 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.
129 <nobr>: The Non-Breaking Text element Deprecated, Element, HTML, Non-standard, Reference, Web, nobr
The <nobr> HTML element prevents the text it contains from automatically wrapping across multiple lines, potentially resulting in the user having to scroll horizontally to see the entire width of the text.
130 <noembed>: The Embed Fallback element Deprecated, Element, Embedded content, Embedding, HTML, Non-standard, Reference, noembed
The <noembed> HTML element is an obsolete, non-standard way to provide alternative, or "fallback", content for browsers that do not support the embed element or do not support the type of embedded content an author wishes to use. This element was deprecated in HTML 4.01 and above in favor of placing fallback content between the opening and closing tags of an object element.
131 <noframes>: The Frame Fallback element Deprecated, Element, Frames, HTML, HTML frames, Reference, Web, noframes
The <noframes> HTML element provides content to be presented in browsers that don't support (or have disabled support for) the frame element. Although most commonly-used browsers support frames, there are exceptions, including certain special-use browsers including some mobile browsers, as well as text-mode browsers.
132 <noscript>: The Noscript element Element, HTML, HTML scripting, Reference, Web
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.
133 <object>: The External Object element Element, HTML, HTML embedded content, Reference, Web
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.
134 <ol>: The Ordered List element Element, HTML, HTML grouping content, HTML:Flow content, Reference
The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
135 <optgroup>: The Option Group element Element, Forms, HTML, HTML forms, Reference, Web
The <optgroup> HTML element creates a grouping of options within a select element.
136 <option>: The HTML Option element Element, Forms, HTML, HTML forms, Reference, Select
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.
137 <output>: The Output element Element, HTML, HTML forms, HTML5, HTML:Flow content, Reference, Web
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.
138 <p>: The Paragraph element Element, HTML, HTML grouping content, Reference, Web
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.
139 <param>: The Object Parameter element Element, HTML, HTML embedded content, Reference, Web
The <param> HTML element defines parameters for an object element.
140 <picture>: The Picture element Element, Graphics, HTML, HTML embedded content, Images, Reference, Web, WebP, 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.
141 <plaintext>: The Plain Text element (Deprecated) Deprecated, Element, HTML, Plain text, Reference, Web, plaintext
The <plaintext> HTML element renders everything following the start tag as raw text, ignoring any following HTML. There is no closing tag, since everything after it is considered raw text.
142 <portal>: The Portal element Content, Element, Embedded content, Embedding, HTML, HTML embedded content, Portal, Reference, Web
The <portal> HTML element enables the embedding of another HTML page into the current one for the purposes of allowing smoother navigation into new pages.
143 <pre>: The Preformatted Text element Element, HTML, HTML grouping content, HTML:Flow content, Reference, Web
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.
144 <progress>: The Progress Indicator element Element, HTML, HTML forms, HTML5, Reference, Web
The <progress> HTML element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
145 <q>: The Inline Quotation element Citation, Cite, Element, HTML, HTML text-level semantics, Q, Quotation, Quotation Marks, Reference, Web, quote
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.
146 <rb>: The Ruby Base element Deprecated, Element, HTML, Reference, Ruby, Text, Web
The <rb> HTML element is used to delimit the base text component of a  ruby annotation, i.e. the text that is being annotated. One <rb> element should wrap each separate atomic segment of the base text.
147 <rp>: The Ruby Fallback Parenthesis element Element, HTML, HTML text-level semantics, Reference, Ruby, Text, Web
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.
148 <rt>: The Ruby Text element Element, HTML, HTML text-level semantics, Reference, Ruby, Text, Web
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.
149 <rtc>: The Ruby Text Container element Deprecated, Element, HTML, NeedsContent, Reference, Ruby Text, Text, Web, rtc
The <rtc> HTML element embraces semantic annotations of characters presented in a ruby of rb elements used inside of ruby element. rb elements can have both pronunciation (rt) and semantic (rtc) annotations.
150 <ruby>: The Ruby Annotation element Element, HTML, HTML text-level semantics, Reference, Web
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.
151 <s>: The Strikethrough element Element, HTML, HTML text-level semantics, Reference, Web, text-decoration
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.
152 <samp>: The Sample Output element Element, HTML, HTML text-level semantics, Inline Sample, Reference, Sample Output, Sample Text, Web
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).
153 <script>: The Script element Element, HTML, HTML scripting, HTML:Flow content, HTML:Metadata content, HTML:Phrasing content, HTML:Script-supporting element, Reference, Script, Web, tag
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.
154 <section>: The Generic Section element Element, HTML, HTML sections, Reference, Section, Web
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.
155 <select>: The HTML Select element Element, Forms, HTML, HTML forms, Reference, Web
The <select> HTML element represents a control that provides a menu of options:
156 <shadow>: The Shadow Root element Deprecated, Element, HTML, HTML Web Components, Reference, Shadow Root, Web Components, shadow, shadow dom
The <shadow> HTML element—an obsolete part of the Web Components technology suite—was intended to be used as a shadow DOM insertion point. You might have used it if you have created multiple shadow roots under a shadow host. It is not useful in ordinary HTML.
157 <slot>: The Web Component Slot element Element, HTML, HTML Web Components, Reference, Web Components, shadow dom, 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.
158 <small>: the side comment element Element, HTML, HTML text-level semantics, Reference, Web, font-size
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.
159 <source>: The Media or Image Source element Element, HTML, HTML embedded content, Media, Reference, Web, Web Performance
The <source> HTML element specifies multiple media resources for the picture, the audio element, or the video element. It is an empty 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.
160 <spacer> Deprecated, Element, HTML, Reference, Web
The <spacer> HTML element is an obsolete HTML element which allowed insertion of empty spaces on pages. It was devised by Netscape to accomplish the same effect as a single-pixel layout image, which was something web designers used to use to add white spaces to web pages without actually using an image. However, <spacer> no longer supported by any major browser and the same effects can now be achieved using simple CSS.
161 <span>: The Content Span element Element, HTML, HTML text-level semantics, HTML:Flow content, Reference, Web
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 element.
162 <strike> Deprecated, Element, HTML, Reference, Web
The <strike> HTML element places a strikethrough (horizontal line) over text.
163 <strong>: The Strong Importance element Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Strong Importance, Urgency, Web, strong
The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type.
164 <style>: The Style Information element CSS, Element, HTML, HTML document metadata, Reference, Style, Web
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.
165 <sub>: The Subscript element Baseline, Element, Footnotes, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Subscript, Web, 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.
166 <summary>: The Disclosure Summary element Disclosure Box, Disclosure Control, Disclosure Summary, Element, HTML, HTML interactive elements, Reference, Summary, Web
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.
167 <sup>: The Superscript element Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web
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.
168 <table>: The Table element Element, HTML, HTML tabular data, NeedsLiveSample, Reference, Sorting, Tables, Web
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.
169 <tbody>: The Table Body element Element, HTML, HTML tabular data, Reference, Table Body, Table Contents, Tables, Web, tbody
The <tbody> HTML element encapsulates a set of table rows (tr elements), indicating that they comprise the body of the table (table).
170 <td>: The Table Data Cell element Cells, Data Cell, Element, HTML, HTML tabular data, Reference, Table Cell, Table Data, Tables, Web, cell, data, td
The <td> HTML element defines a cell of a table that contains data. It participates in the table model.
171 <template>: The Content Template element Element, HTML, HTML Web Components, HTML:Flow content, HTML:Metadata content, HTML:Phrasing content, HTML:Script-supporting element, Reference, Template, Web, Web Components
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.
172 <textarea>: The Textarea element Element, Forms, HTML, HTML forms, Reference, Web, 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.
173 <tfoot>: The Table Foot element Element, HTML, HTML tabular data, Reference, Tables, Web
The <tfoot> HTML element defines a set of rows summarizing the columns of the table.
174 <th>: The Table Header element Element, HTML, HTML tabular data, Heading Cell, Reference, Table Cell, Table Head, Table Header, Table Heading, Table Heading Cell, Tables, Web, cell
The <th> HTML element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.
175 <thead>: The Table Head element Element, HTML, HTML tabular data, Reference, Tables, Web
The <thead> HTML element defines a set of rows defining the head of the columns of the table.
176 <time>: The (Date) Time element Element, HTML, HTML text-level semantics, HTML5, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web
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.
177 <title>: The Document Title element Element, HTML, HTML document metadata, HTML:Metadata content, Page Name, Page Title, Reference, Tab Name, Tab Title, Title, Web, Window Name, Window 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.
178 <tr>: The Table Row element Element, HTML, HTML tabular data, Reference, Tables, Web, tag, tr, tr tag
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.
179 <track>: The Embed Text Track element Accessibility, Cues, Element, HTML, HTML embedded content, HTML5, Multimedia, Reference, TextTrack, Web, a11y, 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.
180 <tt>: The Teletype Text element Deprecated, Element, HTML, Monospace, Monotype, Non-proportional Type, Reference, Teletype, Teletype Text, Web, font-family, tt
The <tt> HTML element creates inline text which is presented using the user agent default monospace font face. This element was created for the purpose of rendering text as it would be displayed on a fixed-width display such as a teletype, text-only screen, or line printer.
181 <u>: The Unarticulated Annotation (Underline) element Annotation, Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Unarticulated Annotation, Underline, Web
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.
182 <ul>: The Unordered List element Element, HTML, HTML grouping content, Reference
The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list.
183 <var>: The Variable element Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web, var, variable
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.
184 <video>: The Video Embed element Element, HTML, HTML Video, HTML Video Player, HTML embedded content, HTML5, Media, Movie Playback, Movies, Multimedia, Playing Movies, Playing Video, Reference, Showing Video, Video, Web
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.
185 <wbr>: The Line Break Opportunity element Element, HTML, HTML text-level semantics, Reference, Web
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.
186 <xmp> Deprecated, Element, HTML, Reference, Web
The <xmp> HTML element renders text between the start and end tags without interpreting the HTML in between and using a monospaced font. The HTML2 specification recommended that it should be rendered wide enough to allow 80 characters per line.
187 Global attributes Attribute, HTML, Reference, Web
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.
188 accesskey Global attributes, HTML, Reference, accesskey
The accesskey global attribute provides a hint for generating a keyboard shortcut for the current element. The attribute value must consist of a single printable character (which includes accented and other characters that can be generated by the keyboard).
189 autocapitalize Autocapitalize, Global attributes, HTML, Reference
The autocapitalize global attribute is an enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
190 autofocus Autofocus, Global attributes, HTML, Reference
The autofocus global attribute is a Boolean attribute indicating that an element should be focused on page load, or when the dialog that it is part of is displayed.
191 class Global attributes, HTML, Reference
The class global attribute is a space-separated list of the case-sensitive classes of the element. Classes allow CSS and Javascript to select and access specific elements via the class selectors or functions like the DOM method document.getElementsByClassName.
192 contenteditable Editing, Global attributes, HTML, Reference, Text Editing, contenteditable, text entry, text input
The contenteditable global attribute is an enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing.
193 contextmenu Deprecated, Global attributes, HTML, Reference, contextmenu
The contextmenu global attribute is the id of a menu to use as the contextual menu for this element.
194 data-* Global attributes, HTML, Reference
The data-* global attributes form a class of attributes called custom data attributes, that allow proprietary information to be exchanged between the HTML and its DOM representation by scripts.
195 dir BiDi, Global attributes, HTML, Reference
The dir global attribute is an enumerated attribute that indicates the directionality of the element's text.
196 draggable Global attributes, HTML, Reference
The draggable global attribute is an enumerated attribute that indicates whether the element can be dragged, either with native browser behavior or the HTML Drag and Drop API.
197 enterkeyhint Global attributes, HTML, Reference
The enterkeyhint global attribute is an enumerated attribute defining what action label (or icon) to present for the enter key on virtual keyboards.
198 hidden Global attributes, HTML, Reference
The hidden global attribute is a Boolean attribute indicating that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. Browsers won't render elements with the hidden attribute set.
199 id Global attributes, HTML, Reference, Web, id
The id global attribute defines an identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).
200 inputmode Attribute, Editing, Forms, Global attributes, HTML, Input, Reference, Text, Web, contenteditable, global, inputmode, text input
The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.
201 is Global attributes, HTML, Reference, is
The is global attribute allows you to specify that a standard HTML element should behave like a defined custom built-in element (see Using custom elements for more details).
202 itemid Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference, itemid
The itemid global attribute provides microdata in the form of a unique, global identifier of an item.
203 itemprop Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference
The itemprop global attribute is used to add properties to an item. Every HTML element can have an itemprop attribute specified, and an itemprop consists of a name-value pair. Each name-value pair is called a property, and a group of one or more properties forms an item. Property values are either a string or a URL and can be associated with a very wide range of elements including audio, embed, iframe, img, link, object, source , track, and video.
204 itemref Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference
Properties that are not descendants of an element with the itemscope attribute can be associated with an item using the global attribute itemref.
205 itemscope Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference
itemscope is a boolean global attribute that defines the scope of associated metadata. Specifying the itemscope attribute for an element creates a new item, which results in a number of name-value pairs that are associated with the element.
206 itemtype Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference
The global attribute itemtype specifies the URL of the vocabulary that will be used to define itemprop's (item properties) in the data structure.
207 lang Global attributes, HTML, Reference
The lang global attribute helps define the language of an element: the language that non-editable elements are written in, or the language that the editable elements should be written in by the user. The attribute contains a single “language tag” in the format defined in 5646.
208 nonce Global attributes, HTML, Reference
The nonce global attribute is a content attribute defining a cryptographic nonce ("number used once") which can be used by Content Security Policy to determine whether or not a given fetch will be allowed to proceed for a given element.
209 part Global attributes, HTML, Reference, part
The part global attribute contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element.
210 slot Global attributes, HTML, Reference
The slot global attribute assigns a slot in a shadow DOM shadow tree to an element: An element with a slot attribute is assigned to the slot created by the slot element whose name attribute's value matches that slot attribute's value.
211 spellcheck Global attributes, HTML, Reference
The spellcheck global attribute is an enumerated attribute defines whether the element may be checked for spelling errors.
212 style Global attributes, HTML, Reference
The style global attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the style element have mainly the purpose of allowing for quick styling, for example for testing purposes.
213 tabindex Global attributes, HTML, Reference
The tabindex global attribute indicates that its element can be focused, and where it participates in sequential keyboard navigation (usually with the Tab key, hence the name).
214 title Global attributes, HTML, Reference, Title
The title global attribute contains text representing advisory information related to the element it belongs to.
215 translate Experimental, Global attributes, HTML, Reference
The translate global attribute is an enumerated attribute that is used to specify whether an element's translateable attribute values and its Text node children should be translated when the page is localized, or whether to leave them unchanged.
216 x-ms-acceleratorkey Attribute, HTML, HTML:Microsoft Extensions, Non-standard, Reference, x-ms-acceleratorkey
The x-ms-acceleratorkey attribute accessibly declares that an accelerator key has been assigned to an element: the element is activated via JavaScript when the key(s) are pressed on a keyboard.
217 x-ms-format-detection Attribute, HTML, HTML:Microsoft Extensions, Non-standard, Reference, x-ms-format-detection
The x-ms-format-detection attribute determines whether data formats within the element’s text, like phone numbers, are automatically converted to followable links.
218 Inline elements Beginner, Elements, HTML, HTML Elements, HTML:Element Reference, Layout, Reference
In this article, we'll examine HTML inline-level elements and how they differ from block-level elements.
219 Link types Attribute, HTML, Link, Link types, Reference
In HTML, link types indicate the relationship between two documents, in which one links to the other using an a, area, form, or link element.
220 Link types: dns-prefetch Attribute, HTML, Link, Link types, Reference
The dns-prefetch keyword for the rel attribute of the link element is a hint to browsers that the user is likely to need resources from the target resource's origin, and therefore the browser can likely improve the user experience by preemptively performing DNS resolution for that origin.
221 Link types: manifest App, Attribute, HTML, Link, Link types, Manifest, Reference
The manifest keyword for the rel attribute of the link element indicates that the target resource is a Web app manifest.
222 Link types: modulepreload Attribute, HTML, Link, Link types, Reference
The modulepreload keyword for the rel attribute of the link element provides a declarative way to preemptively fetch a module script and its dependencies, and store them in the document's module map for later evaluation.
223 Link types: noopener Attribute, HTML, Link types, Reference
The noopener keyword for the rel attribute of the a, area, and form elements instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it — by not setting the Window.opener property on the opened window (it returns null).
224 Link types: noreferrer Attribute, HTML, Link types, Reference
The noreferrer keyword for the rel attribute of the a, area, and form elements instructs the browser, when navigating to the target resource, to omit the Referer header and otherwise leak no referrer information — and additionally to behave as if the noopener keyword were also specified.
225 Link types: preconnect Attribute, HTML, Link, Link types, Reference
The preconnect keyword for the rel attribute of the link element is a hint to browsers that the user is likely to need resources from the target resource's origin, and therefore the browser can likely improve the user experience by preemptively initiating a connection to that origin.
226 Link types: prefetch Attribute, HTML, Link, Link types, Reference
The prefetch keyword for the rel attribute of the link element is a hint to browsers that the user is likely to need the target resource for future navigations, and therefore the browser can likely improve the user experience by preemptively fetching and caching the resource.
227 Link types: preload Attribute, HTML, Link, Link types, Reference
The preload value of the link element's rel attribute lets you declare fetch requests in the HTML's head, specifying resources that your page will need very soon, which you want to start loading early in the page lifecycle, before browsers' main rendering machinery kicks in. This ensures they are available earlier and are less likely to block the page's render, improving performance.
228 Link types: prerender Attribute, HTML, Link, Link types, Reference
The prerender keyword for the rel attribute of the link element is a hint to browsers that the user might need the target resource for the next navigation, and therefore the browser can likely improve the user experience by preemptively fetching and processing the resource — for example, by fetching its subresources or performing some rendering in the background offscreen.
229 Microdata Composing, Example, HTML, Microdata, Reference, SEO, Search
Microdata is part of the WHATWG HTML Standard and is used to nest metadata within existing content on web pages. Search engines and web crawlers can extract and process microdata from a web page and use it to provide a richer browsing experience for users. Search engines benefit greatly from direct access to this structured data because it allows search engines to understand the information on web pages and provide more relevant results to users. Microdata uses a supporting vocabulary to describe an item and name-value pairs to assign values to its properties. Microdata is an attempt to provide a simpler way of annotating HTML elements with machine-readable tags than the similar approaches of using RDFa and classic microformats.
230 Microformats Composing, HTML, Microformats, NeedsContent, NeedsMarkupWork, Reference, SEO, Search
Microformats (sometimes abbreviated μF) are standards used to embed semantics & structured data in HTML, and provide an API to be used by search engines, aggregators, and other tools. These minimal patterns of HTML are used for marking up entities that range from fundamental to domain-specific information, such as people, organizations, events, and locations. Microformats use supporting vocabularies to describe objects and name-value pairs to assign values to their properties. The properties are carried in class attributes that can be added to any HTML element, while the data values re-use HTML element content and semantic attributes. Microformats2 is an update to microformats that provides a simpler way of annotating HTML structured syntax & vocabularies than previous approaches of using RDFa and microdata which require learning new attributes.
231 Quirks Mode and Standards Mode Gecko, Guide, HTML, NeedsUpdate, Web Development, Web Standards, XHTML
In the old days of the web, pages were typically written in two versions: One for Netscape Navigator, and one for Microsoft Internet Explorer. When the web standards were made at W3C, browsers could not just start using them, as doing so would break most existing sites on the web. Browsers therefore introduced two modes to treat new standards compliant sites differently from old legacy sites.
232 HTML reference HTML, Landing, Reference, Web
This HTML reference describes all elements and attributes of HTML, including global attributes that apply to all elements.
233 Using the viewport meta tag to control layout on mobile browsers Layout, Mobile, Responsiveness, viewport
This article describes how to use the "viewport" <meta> tag to control the viewport's size and shape.