HTML Table Reference

Main root

Tag Description
<html> 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.

Document metadata

Tag Description
<head> Contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets.
<link> Specifies relationships between the current document and an external resource. This element is most commonly used to link to CSS, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
<meta> Represents Metadata that cannot be represented by other HTML meta-related elements, like base, link, script, style or title.
<style> Contains style information for a document, or part of a document.
<title> Defines the document's title that is shown in a Browser's title bar or a page's tab.

Sectioning root

Tag Description
<body> represents the content of an HTML document. There can be only one <body> element in a document.

Content sectioning

Tag Description
<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).
<aside> Represents a portion of a document whose content is only indirectly related to the document's main content.
<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.
<header> 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.
<h1>,<h2>,<h3>,<h4>,<h5>,<h6> Represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.
<main> 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.
<nav> 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.
<section> Represents a standalone section — which doesn't have a more specific semantic element to represent it — contained within an HTML document.

Text content

Tag Description
<div> Is the generic container for flow content. It has no effect on the content or layout until styled in some way using CSS (e.g. styling is directly applied to it, or some kind of layout model like Flexbox is applied to its parent element).
<p> Represents a paragraph.
<ol> Represents an ordered list of items — typically rendered as a numbered list.
<ul> Represents an unordered list of items, typically rendered as a bulleted list
<li> Is used to represent an item in a list.
<hr> 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.
<figcaption> Represents a caption or legend describing the rest of the contents of its parent figure element.
<figure> Represents self-contained content, potentially with an optional caption, which is specified using the (figcaption) element.