HTML5 Elements Flashcards
<html>
Represents the root of an HTML or XHTML document. All other elements must be descendants of this element.
<head>
Represents a collection of metadata about the document, including links to or definitions of scripts and style sheets.
<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.
<base>
Defines the base URL for relative URL in the page.
<link>
Used to link JavaScript and external CSS with the current HTML document.
<meta>
Defines metadata that can’t be defined using other HTML element.
<style>
Style tag is used to write inline CSS.
<script>
Defines either an internal script or link to an external script. The script language is JavaScript
<noscript>
Defines an alternative content to display when the browser doesn’t support scripting.
<body>
Represents the main content of an HTML document. There is only one element in a document.
<section>
Defines a section in a document
<nav>
Defines a section that contains only navigation links
<article>
Defines self-contained content that could exist independently of the rest of the content
<aside>
Defines some content set aside from the rest of page content. If it is removed, the remaining content still make sense.
, ## , ### , #### , ##### , ######
Heading elements implement six levels of document headings,
is the most important and ###### is the least. A heading element briefly describes the topic of the section it introduces.
<header>
Defines the header of a page or section. It often contains a logo, the title of the Web site and a navigational table of content.
<footer>
Defines the footer for a page or section. It often contains a copyright notice, some links to legal information or addresses to give feedback.
<address>
Defines a section containing contact information.
<main>
Defines the main or important content in the document. There is only one element in the document.
<p>
Defines a portion that should be displayed as a paragrah.
<hr>
Represents a thematic break between paragraphs of a section or article or any longer content.
<pre>
Indicates that its content is preformatted and that this format must be preserved.
<blockquote>
Represents a citation.
<ol>
Defines an ordered list of items, that is a list which change its meaning if we change the order of its elements
<ul>
Defines an unordered list of items.
<li>
Defines a item of a enumeration list often preceded by a bullet in English.
<dl>
Defines a definition list, that is a list of terms and their associated definitions.
<dt>
</dt>
Represents a term defined by the next
<dd>.
</dd>
<dd>
Represents the definition of the terms immediately listed before it.
<figure>
Represents a figure illustrated a part of the document.
<figcaption>
Represents the legend of a figure.
<div>
Represents a generic container with no special meaning.
<a>
Represents an hyperlink, linking to another resource.
<em>
Represents emphasized text, like a stress accent.
<strong>
Represents especially important text.
<small>
Represents a side comment, that is text like a disclaimer, a copyright which is not essential to the comprehension of the document.
<s>
Represents content that is no longer accurate or relevant.
<cite>
Represents the title of a work.
<q>
Represents an inline quotation.
<dfn>
Represents a term whose definition is contained in its nearest ancestor content.
<abbr>
Represents an abbreviation or an acronym, eventually with its meaning.
<data>
Associates to its content a machine-readable equivalent. (This element is only in the WHATWG version of the HTML standard, and not in the W3C version of HTML5).