HTML <all elements>

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

<cite>

*Inline Text Semantics* The HTML Citation Element (<cite>) represents a reference to a creative work. It must include the title of a work or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata.

<code>

*Inline Text Semantics* The HTML Code Element (<code>) represents a fragment of computer code. By default, it is displayed in the browser's default monospace font.

<dfn>

*Inline Text Semantics* The HTML Definition Element (<dfn>) represents the defining instance of a term.

<em>

*Inline Text Semantics* The HTML Emphasis Element (<em>) marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.

<kbd>

*Inline Text Semantics* The HTML Keyboard Input Element (<kbd>) represents user input and produces an inline element displayed in the browser's default monospace font.

<mark>

*Inline Text Semantics* The HTML Mark Element (<mark>) represents highlighted text, i.e., a run of text marked for reference purpose, due to its relevance in a particular context. For example it can be used in a page showing search results to highlight every instance of the searched-for word.

<q>

*Inline Text Semantics* The HTML Quote Element (<q>) indicates that the enclosed text is a short inline quotation. This element is intended for short quotations that don't require paragraph breaks; for long quotations use <blockquote> element.

<source>

*Embedded Content* The HTML <source> element is used to specify multiple media resources for <picture>, <audio> and <video> elements. It is an empty element. It is commonly used to serve the same media in multiple formats supported by different browsers.

<object>

*Embedded Content* The HTML Embedded Object Element (<object>) represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.

<small>

*Inline Text Semantics* The HTML Small Element (<small>) makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size. In HTML5, this element is repurposed to represent side-comments and small print, including copyright and legal text, independent of its styled presentation.

<data>

*Inline Text Semantics* The HTML <data> Element links a given content with a machine-readable translation. If the content is time- or date-related, the <time> must be used.

<i>

*Inline Text Semantics* The HTML <i> Element represents a range of text that is set off from the normal text for some reason, for example, technical terms, foreign language phrases, or fictional character thoughts. It is typically displayed in italic type.

<samp>

*Inline Text Semantics* The HTML <samp> element is an element intended to identify sample output from a computer program. It is usually displayed in the browser's default monotype font (such as Lucida Console).

<span>

*Inline Text Semantics* 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. 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.

<time>

*Inline Text Semantics* The HTML <time> element represents either a time on a 24-hour clock or a precise date in the Gregorian calendar (with optional time and timezone information).

<abbr>

*Inline Text Semantics* The HTML Abbreviation element (<abbr>) represents an abbreviation and optionally provides a full description for it. If present, the title attribute must contain this full description and nothing else.

<html>

*Basic* The HTML Root Element (<html>) represents the root of an HTML document. All other elements must be descendants of this element.

<h1-6>

*Content Sectioning* Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.

<header>

*Content Sectioning* The HTML <header> Element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, wrapped section's header, a search form, and so on.

<hgroup>

*Content Sectioning* The HTML <hgroup> Element (HTML Headings Group Element) represents the heading of a section. It defines a single title that participates in the outline of the document as the heading of the implicit or explicit section that it belongs to.

<address>

*Content Sectioning* The HTML Address Element (<address>) should be used by authors to supply contact information for its nearest <article> or <body> ancestor; in the latter case, it applies to the whole document.

<article>

*Content Sectioning* The HTML Article Element (<article>) 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. This could be a forum post, a magazine or newspaper article, a blog entry, or any other independent item of content. Each <article> should be identified, typically by including a heading (h1-h6 element) as a child of the <article> element.

<body>

*Content Sectioning* The HTML Body Element (<body>) represents the content of an HTML document. There can be only one <body> element in a document.

<footer>

*Content Sectioning* The HTML Footer Element (<footer>) 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.

<nav>

*Content Sectioning* The HTML Navigation Element (<nav>) represents a section of a page that links to other pages or to parts within the page: a section with navigation links.

<section>

*Content Sectioning* The HTML Section Element (<section>) represents a generic section of a document, i.e., a thematic grouping of content, typically with a heading. Each <section> should be identified, typically by including a heading (<h1>-<h6> element) as a child of the <section> element.

<base>

*Document Metadata* The HTML Base Element (<base>) specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.

<head>

*Document Metadata* The HTML Head Element (<head>) provides general information (metadata) about the document, including its title and links to or definitions of scripts and style sheets

<link>

*Document Metadata* The HTML Link Element (<link>) specifies relationships between the current document and an external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets.

<meta>

*Document Metadata* The HTML Meta Element (<meta>) represents any metadata information that cannot be represented by one of the other HTML meta-related elements (<base>, <link>, <script>, <style> or <title>). Usually have charset or http-equiv attribute.

<style>

*Document Metadata* The HTML Style Element (<style>) contains style information for a document, or part of a document. By default, the style instructions written inside that element are expected to be CSS.

<title>

*Document Metadata* The HTML Title Element (<title>) defines the title of the document, shown in a browser's title bar or on the page's tab. It can only contain text and any contained tags are not interpreted.

<link type=_>

*Document Metadata* This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on

<link rel="_">

*Document Metadata* This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the link types values. The most common use of this attribute is to specify a link to an external style sheet: the rel attribute is set to stylesheet, and the href attribute is set to the URL of an external style sheet to format the page

<link href="_">

*Document Metadata* This attribute specifies the URL of the linked resource. The href attribute is set to the URL of an external style sheet to format the page

<ins>

*Edits* The HTML <ins> Element (or HTML Inserted Text) HTML represents a range of text that has been added to a document.

<del>

*Edits* The HTML Deleted Text Element (<del>) represents a range of text that has been deleted from a document. This element is often (but need not be) rendered with strike-through text.

<embed>

*Embedded Content* The HTML <embed> Element represents an integration point for an external application or interactive content (in other words, a plug-in).

<param>

*Embedded Content* The HTML <param> Element (or HTML Parameter Element) defines parameters for <object>.

<iframe>

*Embedded Content* The HTML Inline Frame Element (<iframe>) represents a nested browsing context, effectively embedding another HTML page into the current page. In HTML 4.01, a document may contain a head and a body or a head and a frame-set, but not both a body and a frame-set. However, an <iframe> can be used within a normal document body. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the parent browsing context. The top-level browsing context (which has no parent) is typically the browser window.

<optgroup>

*Forms* In a Web form, the HTML <optgroup> element creates a grouping of options within a <select> element.

<option>

*Forms* In a Web form, the HTML <option> element is used to create a control representing an item within a <select>, an <optgroup> or a <datalist> HTML5 element.

<button>

*Forms* The HTML <button> Element represents a clickable button.

<fieldset>

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

<form>

*Forms* The HTML <form> element represents a document section that contains interactive controls to submit information to a web server.

<input>

*Forms* The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user. The semantics of an <input> varies considerably depending on the value of its type attribute.

<keygen>

*Forms* 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.

<legend>

*Forms* The HTML <legend> Element (or HTML Legend Field Element) represents a caption for the content of its parent <fieldset>.

<meter>

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

<output>

*Forms* The HTML <output> element represents the result of a calculation or user action.

<progress>

*Forms* The HTML <progress> Element is used to view the completion progress of a task. While the specifics of how it's displayed is left up to the browser developer, it's typically displayed as a progress bar. Javascript can be used to manipulate the value of progress bar.

<textarea>

*Forms* The HTML <textarea> element represents a multi-line plain-text editing control.

<datalist>

*Forms* The HTML Datalist Element (<datalist>) contains a set of <option> elements that represent the values available for other controls.

<label>

*Forms* The HTML Label Element (<label>) represents a caption for an item in a user interface. It can be associated with a control either by placing the control element inside the <label> element, or by using the for attribute. Such a control is called the labeled control of the label element.

<select>

*Forms* The HTML select (<select>) element represents a control that presents a menu of options. The options within the menu are represented by <option> elements, which can be grouped by <optgroup> elements. Options can be pre-selected for the user.

<area>

*Image and Multimedia* 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.

<audio>

*Image and Multimedia* The HTML <audio> element is used to embed sound content in documents. It may contain several audio sources, represented using the src attribute or the <source> element; the browser will choose the most suitable one.

<map>

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

<track>

*Image and Multimedia* 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. The tracks are formatted in WebVTT format (.vtt files) — Web Video Text Tracks.

<video>

*Image and Multimedia* The HTML <video> element is used to embed video content. It may contain several video sources, represented using the src attribute or the <source> element; the browser will choose the most suitable one.

<img>

*Image and Multimedia* The HTML Image Element (<img>) represents an image of the document.

<a>

*Inline Text Semantics* The HTML <a> Element (or the HTML Anchor Element) defines a hyperlink, the named target destination for a hyperlink, or both.

<b>

*Inline Text Semantics* The HTML <b> Element represents a span of text stylistically different from normal text, without conveying any special importance or relevance. It is typically used for keywords in a summary, product names in a review, or other spans of text whose typical presentation would be boldfaced. Another example of its use is to mark the lead sentence of each paragraph of an article.

<bdi>

*Inline Text Semantics* The HTML <bdi> Element (or Bi-Directional Isolation Element) isolates a span of text that might be formatted in a different direction from other text outside it.

<bdo>

*Inline Text Semantics* The HTML <bdo> Element (or HTML bidirectional override element) is used to override the current directionality of text. It causes the directionality of the characters to be ignored in favor of the specified directionality.

<br>

*Inline Text Semantics* The HTML <br> Element (or HTML Line Break 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.

<s>

*Inline Text Semantics* The HTML Strikethrough Element (<s>) 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.

<strong>

*Inline Text Semantics* The HTML Strong Element (<strong>) gives text strong importance, and is typically displayed in bold.

<sub>

*Inline Text Semantics* The HTML Subscript Element (<sub>) defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text.

<sup>

*Inline Text Semantics* The HTML Superscript Element (<sup>) defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text.

<u>

*Inline Text Semantics* The HTML Underline Element (<u>) renders text with an underline, a line under the baseline of its content.

<var>

*Inline Text Semantics* The HTML Variable Element (<var>) represents a variable in a mathematical expression or a programming context.

<dialog>

*Interactive Elements* The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window. <form> elements can be integrated within a dialog by specifying them with the attribute method="dialog". When such a form is submitted, the dialog is closed with a returnValue attribute set to the value of the submit button used.

<menu>

*Interactive Elements* 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.

<menuitem>

*Interactive Elements* 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.

<details>

*Interactive Elements* The HTML Details Element (<details>) is used as a disclosure widget from which the user can retrieve additional information.

<summary>

*Interactive Elements* The HTML summary element (<summary>) is used as a summary, caption, or legend for the content of a <details> element.

<canvas>

*Scripting* The HTML <canvas> Element can be used to draw graphics via scripting (usually JavaScript). For example, it can be used to draw graphs, make photo compositions or even perform animations. You may (and should) provide alternate content inside the <canvas> block. That content will be rendered both on older browsers that don't support canvas and in browsers with JavaScript disabled.

<noscript>

*Scripting* 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.

<script>

*Scripting* The HTML Script Element (<script>) is used to embed or reference an executable script within an HTML or XHTML document.

<caption>

*Table Content* The HTML <caption> Element (or HTML Table Caption Element) represents the title of a table. Though it is always the first descendant of a <table>, its styling, using CSS, may place it elsewhere, relative to the table.

<tbody>

*Table Content* The HTML Table Body Element

<col>

*Table Content* The HTML Table Column Element (<col>) 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.

<colgroup>

*Table Content* The HTML Table Column Group Element (<colgroup>) defines a group of columns within a table.

<table>

*Table Content* The HTML Table Element (<table>) represents data in two dimensions or more.

<tfoot>

*Table Content* The HTML Table Foot Element (<tfoot>) defines a set of rows summarizing the columns of the table.

<thead>

*Table Content* The HTML Table Head Element (<thead>) defines a set of rows defining the head of the columns of the table.

<th>

*Table Content* The HTML Table Header Cell Element (<th>) defines a cell that is a header for a group of cells of a table. The group of cells that the header refers to is defined by the scope and headers attribute.

<tr>

*Table Content* The HTML Table Row Element (<tr>) defines a row of cells in a table. Those can be a mix of <td> and <th> elements.

<td>

*Table Content* The Table cell HTML element (<td>) defines a cell (column) of a table that contains data. It participates in the table model.

<div>

*Text Content* The HTML <div> element (or HTML Document Division Element) is the generic container for flow 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. It should be used only when no other semantic element (such as <article> or <nav>) is appropriate. <div> is very much like a <span> element, but <div> is a block-level element whereas a <span> is an inline element.

<dl>

*Text Content* The HTML <dl> Element (or HTML Description List Element) encloses a list of pairs of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).

<dt>

*Text Content* The HTML <dt> element (or HTML Definition Term Element) identifies a term in a definition list. This element can occur only as a child element of a <dl>. 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.

<figcaption>

*Text Content* The HTML <figcaption> Element represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor which means <figcaption> can be the first or last element inside a <figure> block. Also, the HTML Figcaption Element is optional; if not provided, then the parent figure element will have no caption.

<figure>

*Text Content* The HTML <figure> Element represents self-contained content, frequently with a caption (<figcaption>), and is typically referenced as a single unit. While it is related to the main flow, its position is independent of the main flow. Usually this is an image, an illustration, a diagram, a code snippet, or a schema that is referenced in the main text, but that can be moved to another page or to an appendix without affecting the main flow.

<hr>

*Text Content* 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 with a section). In previous versions of HTML, it represented a horizontal rule. It may still be displayed as a horizontal rule in visual browsers, but is now defined in semantic terms, rather than presentational terms.

<ol>

*Text Content* The HTML <ol> Element (or HTML Ordered List Element) represents an ordered list of items. Typically, ordered-list items are displayed with a preceding numbering, which can be of any form, like numerals, letters or Romans numerals or even simple bullets. This numbered style is not defined in the HTML description of the page, but in its associated CSS, using the list-style-type property.

<p>

*Text Content* The HTML <p> element (or HTML Paragraph Element) represents a paragraph of text.

<dd>

*Text Content* The HTML Description Element (<dd>) indicates the description of a term in a description list (<dl>) element. This element can occur only as a child element of a definition list and it must follow a <dt> element.

<li>

*Text Content* The HTML List Item Element (<li>) 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.

<main>

*Text Content* The HTML Main Element (<main>) represents the main content of the <body> of a document or application. 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. This content should be unique to the document, excluding any content that is repeated across a set of documents such as sidebars, navigation links, copyright information, site logos, and search forms (unless, of course, the document's main function is as a search form).

<pre>

*Text Content* The HTML Preformatted Text (<pre>) represents preformatted text. Text within this element is typically displayed in a non-proportional font exactly as it is laid out in the file. Whitespaces inside this element are displayed as typed.

<ul>

*Text Content* The HTML unordered list element (<ul>) represents an unordered list of items, namely a collection of items that do not have a numerical ordering, and their order in the list is meaningless. Typically, unordered-list items are displayed with a bullet, which can be of several forms, like a dot, a circle or a squared. The bullet style is not defined in the HTML description of the page, but in its associated CSS, using the list-style-type property.


Ensembles d'études connexes

PrepU NUR 118 Chapter 65: Management of Patients with Oncologic or Degenerative Neurologic Disorders

View Set

Chapter 36: Geriatric Emergencies

View Set

NUR 205 Ch 45 Nursing Management: Patients With Neurologic Trauma

View Set

Network Security Final Exam Review

View Set