Found 237 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 | 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. |
||
3 | Applying color to HTML elements using CSS | Beginner, CSS, CSS Colors, Guide, HTML, HTML Colors, HTML Styles, Styling HTML, color |
With CSS, there are lots of ways to add color to your HTML elements to create just the look you want. This article is a primer introducing each of the ways CSS color can be used in HTML. | ||
4 | Block-level elements | Beginner, Development, Guide, HTML, HTML5, Web |
HTML (Hypertext Markup Language) elements historically were categorized as either "block-level" elements or "inline-level" elements. By default, a block-level element occupies the entire space of its parent element (container), thereby creating a "block." This article helps to explain what this means. | ||
5 | DASH Adaptive Streaming for HTML 5 Video | Guide, HTML, HTML5 |
Dynamic Adaptive Streaming over HTTP (DASH) is an adaptive streaming protocol. | ||
6 | 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. | ||
7 | 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. | ||
8 | 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). |
||
9 | 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. |
||
10 | 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 . |
||
11 | 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. |
||
12 | 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. |
||
13 | 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. |
||
14 | dir | BiDi, Global attributes, HTML, Reference |
The dir global attribute is an enumerated attribute that indicates the directionality of the element's text. |
||
15 | 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. | ||
16 | dropzone | Deprecated, Global attributes, HTML, Reference |
The dropzone global attribute is an enumerated attribute indicating what types of content can be dropped on an element, using the HTML Drag and Drop API. It can have the following values: |
||
17 | 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. |
||
18 | 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). |
||
19 | 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. |
||
20 | 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). |
||
21 | 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. |
||
22 | 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> . |
||
23 | 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 . |
||
24 | 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. |
||
25 | 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. |
||
26 | 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 Tags for Identifying Languages (BCP47). |
||
27 | 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. |
||
28 | 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. |
||
29 | spellcheck | Global attributes, HTML, Reference |
The spellcheck global attribute is an enumerated attribute defines whether the element may be checked for spelling errors. |
||
30 | 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. |
||
31 | 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). |
||
32 | title | Global attributes, HTML, Reference, Title |
The title global attribute contains text representing advisory information related to the element it belongs to. |
||
33 | 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. |
||
34 | 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. |
||
35 | 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. |
||
36 | 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. | ||
37 | HTML attribute: accept | Accept, Attribute, File, 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. |
||
38 | 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. Values include user and environment . |
||
39 | 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. |
||
40 | HTML attribute: max | Attribute, Attributes, Constraint validation, HTML, Reference |
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. |
||
41 | HTML attribute: maxlength | Attribute, Attributes, Constraint validation |
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. |
||
42 | HTML attribute: min | Attribute, Attributes, Constraint validation, 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. |
||
43 | HTML attribute: minlength | Attribute, 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. |
||
44 | HTML attribute: multiple | Attribute, Attributes, Constraint validation |
The Boolean multiple attribute, if set, means the form control accepts one or more values. Valid for the email and file input types and the <select> , the manner by which the user opts for multiple values depends on the form control. |
||
45 | HTML attribute: pattern | Attribute, Attributes, Constraint Validation API, 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 object's read-only property will be true. |
||
46 | 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. |
||
47 | 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. |
||
48 | HTML attribute: required | Attribute, Attributes, Constraint validation, Forms, required |
The Boolean required attribute |
||
49 | 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 text or 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. |
||
50 | HTML attribute: step | Attribute, Attributes, constrain validation, step |
Valid for the numeric input types, including the date, month, week, time, datetime-local, number and range types, the step attribute is a number that specifies the granularity that the value must adhere to or the keyword any . |
||
51 | The HTML autocomplete attribute | Addresses, Attribute, Email addresses, Forms, HTML, Input, Phone Numbers, Reference, Select, Text, Usernames, autocomplete, form, passwords, textarea |
autocomplete 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. |
||
52 | 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 it's form control descendants. |
||
53 | HTML documentation index | HTML, Index, MDN Meta |
A comprehensive index list of all the available HTML documentation. | ||
54 | HTML elements reference | Basic, Element, HTML, Reference, Web, l10n:priority |
This page lists all the HTML elements, which are created using tags. | ||
55 | <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 HTML <a> 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. |
||
56 | <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 HTML Abbreviation element (<abbr> ) represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for the abbreviation. |
||
57 | <acronym> | Element, HTML, HTML:Flow content, Obsolete, Reference, Web |
The HTML Acronym Element (<acronym> ) allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word. |
||
58 | <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 HTML <address> element indicates that the enclosed HTML provides contact information for a person or people, or for an organization. |
||
59 | <applet>: The Embed Java Applet element | Element, HTML, Java, Obsolete, 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> . |
||
60 | <area> | Content, Element, HTML, HTML:Flow content, HTML:Phrasing content, Multimedia, Reference, Web |
The HTML <area> element defines a hot-spot region on an image, and optionally associates it with a hypertext link. This element is used only within a <map> element. |
||
61 | <article>: The Article Contents element | Element, HTML, HTML sections, Reference, Web |
The HTML <article> 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). |
||
62 | <aside>: The Aside element | Element, HTML, HTML sections, HTML5, HTML:Flow content, HTML:Palpable Content, HTML:Sectioning content, Reference, Web |
The HTML <aside> element represents a portion of a document whose content is only indirectly related to the document's main content. |
||
63 | <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 HTML <audio> 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 . |
||
64 | <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 HTML Bring Attention To element (<b> ) is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. |
||
65 | <base>: The Document Base URL element | Element, HTML, HTML document metadata, HTML:Metadata content, Reference |
The HTML <base> element specifies the base URL to use for all relative URLs in a document. |
||
66 | <basefont> | Element, Fonts, HTML, Layout, Obsolete, Reference, Style, Web, basefont |
The obsolete HTML Base Font element (<basefont> ) sets a default font face, size, and color for the other elements which are descended from its parent element. |
||
67 | <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 HTML Bidirectional Isolate element (<bdi> ) tells the browser's bidirectional algorithm to treat the text it contains in isolation from its surrounding text. |
||
68 | <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 HTML Bidirectional Text Override element (<bdo> ) overrides the current directionality of text, so that the text within is rendered in a different direction. |
||
69 | <bgsound>: The Background Sound element (obsolete) | Audio, Background Sound, Element, HTML, Internet Explorer, Non-standard, Obsolete, Reference, Web |
The Internet Explorer only HTML Background Sound element (<bgsound> ) sets up a sound file to play in the background while the page is used; use <audio> instead. |
||
70 | <big>: The Bigger Text element | Element, HTML, Obsolete, Reference, Web |
The obsolete HTML Big Element (<big> ) renders the enclosed text at a font size one level larger than the surrounding text (medium becomes large , for example). |
||
71 | <blink>: The Blinking Text element (obsolete) | Blink, Element, HTML, Obsolete, Reference, Web |
The HTML Blink Element (<blink> ) is a non-standard element which causes the enclosed text to flash slowly. |
||
72 | <blockquote>: The Block Quotation element | Blockquote, Element, HTML, HTML grouping content, HTML:Flow content, HTML:Palpable Content, HTML:Sectioning root, Quotations, Reference, Web |
The HTML <blockquote> Element (or HTML Block Quotation 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. |
||
73 | <body>: The Document Body element | Element, HTML, Reference, Sectioning Root Element, Sections, Web |
The HTML <body> Element represents the content of an HTML document. There can be only one <body> element in a document. |
||
74 | <br>: The Line Break element | Element, HTML, HTML text-level semantics, Reference, Web |
The HTML <br> 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. |
||
75 | <button>: The Button element | Element, Forms, HTML, HTML forms, Reference, Web |
The HTML <button> element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality. |
||
76 | <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. |
||
77 | <caption>: The Table Caption element | Element, HTML, HTML Tables, HTML tabular data, Reference, Table Captions, Table Titles, Tables, Web, caption |
The HTML <caption> element specifies the caption (or title) of a table. |
||
78 | <center>: The Centered Text element (obsolete) | Element, HTML, Obsolete, Reference, Text, Text Alignment, Web, alignment, center |
The obsolete HTML Center Element (<center> ) is a block-level element that displays its block-level or inline contents centered horizontally within its containing element. |
||
79 | <cite>: The Citation element | Attribution, Citation, Citing References, Citing Works, Element, HTML, HTML text-level semantics, Quotations, Reference, Web |
The HTML Citation element (<cite> ) is used to describe a reference to a cited creative work, and must include the title of that work. |
||
80 | <code>: The Inline Code element | Code, Element, HTML, HTML text-level semantics, Inline Code, Reference, Web |
The HTML <code> element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. |
||
81 | <col> | Element, HTML, HTML tabular data, Reference, Tables, Web |
The HTML <col> 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. |
||
82 | <colgroup> | Element, HTML, HTML tabular data, Reference, Tables, Web |
The HTML <colgroup> element defines a group of columns within a table. |
||
83 | <command>: The HTML Command element | Command, HTML, HTML commands, HTML5, HTML:Element, HTML:Element Reference, Obsolete |
The HTML Command element (<command> ) represents a command which the user can invoke. Commands are often used as part of a context menu or toolbar. |
||
84 | <content>: The Shadow DOM Content Placeholder element (obsolete) | Content, DOM, Deprecated, Element, HTML, HTML Web Components, Placeholder, Reference, Web, Web Components, shadow dom |
The HTML <content> 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. |
||
85 | <data> | Element, HTML, HTML text-level semantics, Reference, Web |
The HTML <data> 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. |
||
86 | <datalist>: The HTML Data List element | Element, HTML, HTML forms, HTML5, Reference, Web |
The HTML <datalist> element contains a set of <option> elements that represent the permissible or recommended options available to choose from within other controls. |
||
87 | <dd>: The Description Details element | Definition, Description Details, Element, HTML, HTML grouping content, Reference, Web, dd, description list, details |
The HTML <dd> element provides the description, definition, or value for the preceding term (<dt> ) in a description list (<dl> ). |
||
88 | <del>: The Deleted Text element | Deleted Text, Element, HTML, HTML edits, Reference, Web, del |
The HTML <del> element represents a range of text that has been deleted from a document. |
||
89 | <details>: The Details disclosure element | Disclosure Box, Disclosure Widget, Element, HTML, HTML interactive elements, Reference, Web, details |
The HTML Details Element (<details> ) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. |
||
90 | <dfn>: The Definition element | Definition, Definitions, Element, HTML, HTML text-level semantics, Reference, Semantic Markup, Web, dfn |
The HTML Definition element (<dfn> ) is used to indicate the term being defined within the context of a definition phrase or sentence. |
||
91 | <dialog>: The Dialog element | Dialog, Element, HTML, HTML interactive elements, Reference, Web, polyfill |
The HTML <dialog> element represents a dialog box or other interactive component, such as a dismissable alert, inspector, or subwindow. |
||
92 | <dir>: The Directory element (obsolete) | Directory, Element, HTML, HTML Lists, Obsolete, Reference, Web, dir, lists |
The obsolete HTML Directory element (<dir> ) is used as a container for a directory of files and/or folders, potentially with styles and icons applied by the user agent. |
||
93 | <div>: The Content Division element | Content Division, Element, HTML, HTML grouping content, HTML:Flow content, Layout, Reference, Web, div |
The HTML Content Division element (<div> ) is the generic container for flow content. It has no effect on the content or layout until styled using CSS. |
||
94 | <dl>: The Description List element | Element, HTML, HTML grouping content, HTML:Flow content, HTML:Palpable Content, Reference, Web |
The HTML <dl> 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). |
||
95 | <dt>: The Description Term element | Definition, Definition List, Definition Term, Element, HTML, HTML grouping content, Reference, Term, dt, lists |
The HTML <dt> element specifies a term in a description or definition list, and as such must be used inside a <dl> element. |
||
96 | <element>: The Custom Element element (Obsolete) | Element, HTML, Obsolete, Web Components, custom elements, shadow dom |
The obsolete HTML <element> element was part of the Web Components specification; it was intended to be used to define new custom DOM elements. |
||
97 | <em>: The Emphasis element | Element, HTML, HTML text-level semantics, Reference, Web |
The HTML <em> element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis. |
||
98 | <embed>: The Embed External Content element | Element, Embedding Content, External content, HTML, HTML embedded content, HTML5, Plugins, Reference, Web, embed |
The HTML <embed> 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. |
||
99 | <fieldset>: The Field Set element | Element, Forms, HTML, HTML forms, Reference, Web |
The HTML <fieldset> element is used to group several controls as well as labels (<label> ) within a web form. |
||
100 | <figcaption>: The Figure Caption element | Element, HTML, HTML grouping content, Reference |
The HTML <figcaption> or Figure Caption element represents a caption or legend describing the rest of the contents of its parent <figure> element. |
||
101 | <figure>: The Figure with Optional Caption element | Element, HTML, HTML grouping content, Information, Presentation, Reference, figure |
The HTML <figure> (Figure With Optional Caption) element represents self-contained content, potentially with an optional caption, which is specified using the (<figcaption> ) element. |
||
102 | <font> | Element, HTML, Obsolete, Reference, Web |
The HTML Font Element (<font> ) defines the font size, color and face for its content. |
||
103 | <footer> | Element, HTML, HTML sections, Reference |
The HTML <footer> 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. |
||
104 | <form> | Element, Form Element, Forms, HTML, HTML Form Element, HTML forms, Reference, Web |
The HTML <form> element represents a document section containing interactive controls for submitting information. |
||
105 | <frame> | Deprecated, Element, HTML, Reference, Web |
<frame> is an HTML element which defines a particular area in which another HTML document can be displayed. A frame should be used within a <frameset> . |
||
106 | <frameset> | Deprecated, Element, HTML, Reference, Web |
The HTML <frameset> element is used to contain <frame> elements. |
||
107 | <h1>–<h6>: The HTML Section Heading elements | Element, HTML, HTML sections, Reference, Web |
The HTML <h1> –<h6> elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. |
||
108 | <head>: The Document Metadata (Header) element | Element, HTML, HTML document metadata, HTML:Metadata content, Reference, Web |
The HTML <head> element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets. |
||
109 | <header> | Element, HTML, HTML sections, Reference |
The HTML <header> 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. |
||
110 | <hgroup> | Element, Experimental, HTML, HTML sections, HTML5, Reference, Web |
The HTML <hgroup> element represents a multi-level heading for a section of a document. It groups a set of <h1>–<h6> elements. |
||
111 | <hr>: The Thematic Break (Horizontal Rule) element | Element, HTML, HTML grouping content, Reference |
The HTML <hr> 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. |
||
112 | <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. |
||
113 | manifest | Cache, application cache |
The manifest attribute of <html> element specifies a URL of a application cache manifest that is downloaded in the early stages of page load. |
||
114 | <i>: The Idiomatic Text element | Element, HTML, HTML text-level semantics, Reference, Web, em |
The HTML Idiomatic Text element (<i> ) 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. |
||
115 | <iframe>: The Inline Frame element | Content, Element, Embedded content, Embedding, Frames, HTML, HTML embedded content, Inline Frames, Reference, Web, embedded, iframe |
The HTML Inline Frame element (<iframe> ) represents a nested browsing context, embedding another HTML page into the current one. |
||
116 | <image>: The obsolete Image element | Element, HTML, HTML Element Reference, HTML Reference, HTML element, Non-standard, Obsolete, Reference |
The obsolete HTML Image element (<image> ) is an obsolete remnant of an ancient version of HTML lost in the mists of time; use the standard <img> element instead. |
||
117 | <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 HTML <img> element embeds an image into the document. |
||
118 | <input>: The Input (Form Input) element | Data entry, Element, Forms, HTML, HTML forms, HTML input tag, Input, MakeBrowserAgnostic, Reference, Web |
The HTML <input> 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. |
||
119 | <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). |
||
120 | <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). |
||
121 | <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. |
||
122 | <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. |
||
123 | <input type="datetime"> | Element, HTML, HTML forms, Input, Input Element, Input Type, Obsolete, 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. |
||
124 | <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. |
||
125 | <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. |
||
126 | <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. |
||
127 | <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. |
||
128 | <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. |
||
129 | <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. |
||
130 | <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. |
||
131 | <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. |
||
132 | <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. |
||
133 | <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 number input type. |
||
134 | <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. |
||
135 | <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. |
||
136 | <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 click event occurs (typically because the user clicked the button), the user agent attempts to submit the form to the server. |
||
137 | <input type="tel"> | Element, Form Inputs, Forms, HTML, HTML forms, HTML input, Input, Input Element, Input Type, Phone Numbers, Reference, Telephone Numbers, tel |
<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. |
||
138 | <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. |
||
139 | <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). |
||
140 | <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. |
||
141 | <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). |
||
142 | <ins> | Element, HTML, HTML edits, Inserted Text, Insertion, Reference, Web, ins |
The HTML <ins> element represents a range of text that has been added to a document. |
||
143 | <isindex> | Deprecated, Element, HTML, Reference, Web |
<isindex> was an obsolete HTML element that put a text field in a page for querying the document. |
||
144 | <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 HTML Keyboard Input element (<kbd> ) represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device. |
||
145 | <keygen> | Deprecated, Element, HTML, HTML5, Obsolete, Reference, Web |
The HTML <keygen> 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. |
||
146 | <label> | Element, Forms, HTML, HTML forms, Reference, Web |
The HTML <label> element represents a caption for an item in a user interface. |
||
147 | <legend> | Element, Forms, HTML, HTML forms, Reference, Web |
The HTML <legend> element represents a caption for the content of its parent <fieldset> . |
||
148 | <li> | Element, HTML, HTML grouping content, Reference |
The HTML <li> element is used to represent an item in a list. |
||
149 | <link>: The External Resource Link element | Element, HTML, HTML document metadata, Link, Reference, Web, Web Performance, metadata |
The HTML External Resource Link element (<link> ) specifies relationships between the current document and an external resource. This element is most commonly used to link to stylesheets, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things. |
||
150 | <listing> | Element, HTML, Obsolete, Reference, Web |
The HTML Listing Element (<listing> ) renders text between the start and end tags without interpreting the HTML in between and using a monospaced font. The HTML 2 standard recommended that lines shouldn't be broken when not greater than 132 characters. |
||
151 | <main> | Element, HTML, HTML grouping content, HTML sections, Reference, main |
The HTML <main> 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. |
||
152 | <map> | Element, HTML, HTML embedded content, Multimedia, Reference, Web |
The HTML <map> element is used with <area> elements to define an image map (a clickable link area). |
||
153 | <mark>: The Mark Text element | Element, HTML, HTML text-level semantics, HTML5, Highlighting, Highlighting Text, Marking Text, Reference, Web, mark |
The HTML Mark Text element (<mark> ) 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. |
||
154 | <marquee>: The Marquee element (Obsolete) | Element, HTML, Obsolete, Reference, Web, marquee |
The HTML <marquee> 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. |
||
155 | <menu> | Element, Experimental, HTML, HTML interactive elements, Navigation, Reference, Site Navigation, UI, UX, User Interface, User experience, Web, menu, menus |
The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked. |
||
156 | <menuitem> | Deprecated, Element, HTML, HTML5, Navigation, Navigation Menus, Reference, UI, UX, User Interface, User experience, Web, menuitem |
The HTML <menuitem> 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. |
||
157 | <meta>: The Document-level Metadata element | Document, Element, HTML, HTML charset, HTML document metadata, Reference, Web, charset, http-equiv, metadata |
The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base> , <link> , <script> , <style> or <title> . |
||
158 | 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. |
||
159 | 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> . |
||
160 | <meter>: The HTML Meter element | Element, HTML, HTML forms, HTML5, Reference, Web |
The HTML <meter> element represents either a scalar value within a known range or a fractional value. |
||
161 | <multicol>: The HTML Multi-Column Layout element (Obsolete) | Element, HTML, Non-standard, Obsolete, Reference, multicol |
The HTML Multi-Column Layout element (<multicol> ) was an experimental element designed to allow multi-column layouts and must not be used. |
||
162 | <nav>: The Navigation Section element | Element, HTML, HTML sections, Links, Navigation, Reference, Sections, Web, nav |
The HTML <nav> 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. |
||
163 | <nextid>: The NeXT ID element (Obsolete) | Element, HTML, Obsolete, Reference, Web |
<nextid> is an obsolete HTML element that served to enable the NeXT web designing tool to generate automatic NAME labels for its anchors. |
||
164 | <nobr>: The Non-Breaking Text element (obsolete) | Element, HTML, Non-standard, Obsolete, Reference, Web, nobr |
The non-standard, obsolete HTML <nobr> 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. |
||
165 | <noembed>: The Embed Fallback element (Obsolete) | Element, Embedded content, Embedding, HTML, Non-standard, Obsolete, Reference, noembed |
The <noembed> 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. |
||
166 | <noframes>: The Frame Fallback element | Element, Frames, HTML, HTML frames, Obsolete, Reference, Web, noframes |
The obsolete HTML No Frames or frame fallback element, <noframes> , provides content to be presented in browsers that don't support (or have disabled support for) the <frame> element. |
||
167 | <noscript> | Element, HTML, HTML scripting, Reference, Web |
The HTML <noscript> 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. |
||
168 | <object> | Element, HTML, HTML embedded content, Reference, Web |
The HTML <object> 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. |
||
169 | <ol>: The Ordered List element | Element, HTML, HTML grouping content, HTML:Flow content, Reference |
The HTML <ol> element represents an ordered list of items — typically rendered as a numbered list. |
||
170 | <optgroup> | Element, Forms, HTML, HTML forms, Reference, Web |
The HTML <optgroup> element creates a grouping of options within a <select> element. |
||
171 | <option>: The HTML Option element | Element, Forms, HTML, HTML forms, Reference, Select |
The HTML <option> 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. |
||
172 | <output>: The Output element | Element, HTML, HTML forms, HTML5, HTML:Flow content, Reference, Web |
The HTML Output element (<output> ) is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. |
||
173 | <p>: The Paragraph element | Element, HTML, HTML grouping content, Reference, Web |
The HTML <p> element represents a paragraph. |
||
174 | <param>: The Object Parameter element | Element, HTML, HTML embedded content, Reference, Web |
The HTML <param> element defines parameters for an <object> element. |
||
175 | <picture>: The Picture element | Element, Graphics, HTML, HTML embedded content, Images, Reference, Web, WebP, picture |
The HTML <picture> element contains zero or more <source> elements and one <img> element to offer alternative versions of an image for different display/device scenarios. |
||
176 | <plaintext>: The Plain Text element (Deprecated) | Element, HTML, Obsolete, Plain text, Reference, Web, plaintext |
The HTML Plaintext Element (<plaintext> ) renders everything following the start tag as raw text, ignoring any following HTML. |
||
177 | <pre>: The Preformatted Text element | Element, HTML, HTML grouping content, HTML:Flow content, Reference, Web |
The HTML <pre> element represents preformatted text which is to be presented exactly as written in the HTML file. |
||
178 | <progress>: The Progress Indicator element | Element, HTML, HTML forms, HTML5, Reference, Web |
The HTML <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar. |
||
179 | <q>: The Inline Quotation element | Citation, Cite, Element, HTML, HTML text-level semantics, Q, Quotation, Quotation Marks, Reference, Web, quote |
The HTML <q> element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. |
||
180 | <rb>: The Ruby Base element | Element, HTML, HTML text-level semantics, Reference, Ruby, Text, Web |
The HTML Ruby Base (<rb> ) element is used to delimit the base text component of a <ruby> annotation, i.e. the text that is being annotated. |
||
181 | <rp>: The Ruby Fallback Parenthesis element | Element, HTML, HTML text-level semantics, Reference, Ruby, Text, Web |
The HTML Ruby Fallback Parenthesis (<rp> ) element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element. |
||
182 | <rt>: The Ruby Text element | Element, HTML, HTML text-level semantics, Reference, Ruby, Text, Web |
The HTML Ruby Text (<rt> ) 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. |
||
183 | <rtc>: The Ruby Text Container element | Element, HTML, HTML text-level semantics, NeedsContent, Reference, Ruby Text, Text, Web, rtc |
The HTML Ruby Text Container (<rtc> ) 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. |
||
184 | <ruby> | Element, HTML, HTML text-level semantics, Reference, Web |
The HTML <ruby> element represents a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters. |
||
185 | <s> | Element, HTML, HTML text-level semantics, Reference, Web, text-decoration |
The HTML <s> 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. |
||
186 | <samp>: The Sample Output element | Element, HTML, HTML text-level semantics, Inline Sample, Reference, Sample Output, Sample Text, Web |
The HTML Sample Element (<samp> ) is used to enclose inline text which represents sample (or quoted) output from a computer program. |
||
187 | <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 HTML <script> element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. |
||
188 | <section>: The Generic Section element | Element, HTML, HTML sections, Reference, Section, Web |
The HTML <section> element represents a standalone section — which doesn't have a more specific semantic element to represent it — contained within an HTML document. |
||
189 | <select>: The HTML Select element | Element, Forms, HTML, HTML forms, Reference, Web |
The HTML <select> element represents a control that provides a menu of options |
||
190 | <shadow>: The obsolete Shadow Root element | Deprecated, Element, HTML, HTML Web Components, Reference, Shadow Root, Web Components, shadow, shadow dom |
The HTML <shadow> element—an obsolete part of the Web Components technology suite—was intended to be used as a shadow DOM insertion point. |
||
191 | <slot> | Element, HTML, HTML Web Components, Reference, Web Components, shadow dom, slot |
The HTML <slot> 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. |
||
192 | <small>: the side comment element | Element, HTML, HTML text-level semantics, Reference, Web, font-size |
The HTML <small> 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 . |
||
193 | <source>: The Media or Image Source element | Element, HTML, HTML embedded content, Media, Reference, Web, Web Performance |
The HTML <source> element specifies multiple media resources for the <picture> , the <audio> element, or the <video> element. |
||
194 | <spacer> | Element, HTML, Obsolete, Reference, Web |
<spacer> 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. |
||
195 | <span> | Element, HTML, HTML text-level semantics, HTML:Flow content, Reference, Web |
The HTML <span> 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 . |
||
196 | <strike> | Element, HTML, Obsolete, Reference, Web |
The HTML <strike> element (or HTML Strikethrough Element) places a strikethrough (horizontal line) over text. |
||
197 | <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 HTML Strong Importance Element (<strong> ) indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type. |
||
198 | <style>: The Style Information element | CSS, Element, HTML, HTML document metadata, Reference, Style, Web |
The HTML <style> element contains style information for a document, or part of a document. |
||
199 | <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 HTML Subscript element (<sub> ) specifies inline text which should be displayed as subscript for solely typographical reasons. |
||
200 | <summary>: The Disclosure Summary element | Disclosure Box, Disclosure Control, Disclosure Summary, Element, HTML, HTML interactive elements, Reference, Summary, Web |
The HTML Disclosure Summary element (<summary> ) element specifies a summary, caption, or legend for a <details> element's disclosure box. |
||
201 | <sup>: The Superscript element | Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web |
The HTML Superscript element (<sup> ) specifies inline text which is to be displayed as superscript for solely typographical reasons. |
||
202 | <table>: The Table element | Element, HTML, HTML tabular data, Reference, Tables, Web |
The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data. |
||
203 | <tbody>: The Table Body element | Element, HTML, HTML tabular data, Reference, Table Body, Table Contents, Tables, Web, tbody |
The HTML Table Body element (<tbody> ) encapsulates a set of table rows (<tr> elements), indicating that they comprise the body of the table (<table> ). |
||
204 | <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 HTML <td> element defines a cell of a table that contains data. It participates in the table model. |
||
205 | <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 HTML Content Template (<template> ) 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. |
||
206 | <textarea> | Element, Forms, HTML, HTML forms, Reference, Web, textarea |
The HTML <textarea> 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. |
||
207 | <tfoot>: The Table Foot element | Element, HTML, HTML tabular data, Reference, Tables, Web |
The HTML <tfoot> element defines a set of rows summarizing the columns of the table. |
||
208 | <th> | Element, HTML, HTML tabular data, Heading Cell, Reference, Table Cell, Table Head, Table Header, Table Heading, Table Heading Cell, Tables, Web, cell |
The HTML <th> 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. |
||
209 | <thead>: The Table Head element | Element, HTML, HTML tabular data, Reference, Tables, Web |
The HTML <thead> element defines a set of rows defining the head of the columns of the table. |
||
210 | <time> | Element, HTML, HTML text-level semantics, HTML5, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web |
The HTML <time> element represents a specific period in time. |
||
211 | <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 HTML Title element (<title> ) defines the document's title that is shown in a browser's title bar or a page's tab. |
||
212 | <tr>: The Table Row element | Element, HTML, HTML tabular data, Reference, Tables, Web, tag, tr, tr tag |
The HTML <tr> 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. |
||
213 | <track>: The Embed Text Track element | Accessibility, Cues, Element, HTML, HTML embedded content, HTML5, Multimedia, Reference, TextTrack, Web, a11y, track |
The HTML <track> 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. |
||
214 | <tt>: The Teletype Text element (obsolete) | Element, HTML, Monospace, Monotype, Non-proportional Type, Obsolete, Reference, Teletype, Teletype Text, Web, font-family, tt |
The obsolete HTML Teletype Text element (<tt> ) creates inline text which is presented using the user agent's default monospace font face. |
||
215 | <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 HTML Unarticulated Annotation element (<u> ) represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation. |
||
216 | <ul>: The Unordered List element | Element, HTML, HTML grouping content, Reference |
The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list. |
||
217 | <var>: The Variable element | Element, HTML, HTML text-level semantics, HTML:Flow content, HTML:Palpable Content, HTML:Phrasing content, Reference, Web, var, variable |
The HTML Variable element (<var> ) represents the name of a variable in a mathematical expression or a programming context. |
||
218 | <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 HTML Video element (<video> ) 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. |
||
219 | <wbr> | Element, HTML, HTML text-level semantics, Reference, Web |
The HTML <wbr> 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. |
||
220 | <xmp> | Element, HTML, Obsolete, Reference, Web |
The HTML Example Element (<xmp> ) 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. |
||
221 | HTML reference | HTML, Landing, Reference, Web |
This HTML reference describes all elements and attributes of HTML, including global attributes that apply to all elements. | ||
222 | Inline elements | Beginner, Elements, HTML, HTML Elements, HTML:Element Reference, Layout, Reference |
Inline elements are those which only occupy the space bounded by the tags defining the element, instead of breaking the flow of the content. | ||
223 | 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. |
||
224 | 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. |
||
225 | 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. |
||
226 | 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. |
||
227 | 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 ). |
||
228 | 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. |
||
229 | 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. |
||
230 | 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. |
||
231 | Link types: preload | Attribute, HTML, Link, Link types, Reference |
The preload keyword for the rel attribute of the <link> element indicates the user is highly likely to require the target resource for the current navigation, and therefore the browser must preemptively fetch and cache the resource. |
||
232 | 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. |
||
233 | 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. | ||
234 | 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. | ||
235 | Preloading content with rel="preload" | Guide, HTML, JavaScript, Link, Media, Performance, Web Performance, as, preload, rel |
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. |
||
236 | 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. | ||
237 | Using the application cache | Advanced, App, Cache, Guide, HTML, appcache, application cache, web cache |
HTML5 provides an application caching mechanism that lets web applications run offline. This Application Cache (AppCache) interface lists resources that browsers should cache to be available offline. Applications that are cached load and work correctly offline, even if users press the Refresh button. | ||