HTML REFERENCE

MAIN ROOT


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

DOCUMENT META DATA

Metadata contains information about the page. This includes information about styles, scripts and data to help software
(search engines, browsers, etc.) use and render the page. Metadata for styles and scripts may be defined in the page
or link to another file that has the information.

# Tag Description
1 <base> The <base>HTML element specifies the base URL to use for all relative URLs in a document.
There can be only one <base> element in a document.
2 <head> The <head> HTML element contains machine-readable information (metadata) about the document,
like its title, scripts, and style sheets.
3 <link> The <link> element specifies relationships between the current document and an external resource.
This element is most commonly used to link to CSS,
but is also used to establish site icons (both "favicon" style icons and icons
for the home screen and apps on mobile devices) among other things.
4 <meta> The <meta> element represents Metadata that cannot be represented by other HTML meta-related elements,
like base, link, script, style or title.
5 <title> The <title> HTML element defines the document's title that is shown in a Browser's title bar or a page's tab.
It only contains text; tags within the element are ignored.

A


# Tag Description
1 <a> The Anchor 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.
2 <abbr> HTML element represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for
the abbreviation. If present, title must contain this full description and nothing else.
3 <address> HTML element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.
4 <area> HTML element defines an area inside an image map that has predefined clickable areas. An image map allows geometric areas on an image to be associated with hypertext link.
5 <article> HTML element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable
(e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry, a product card,
a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
6 <aside> HTML element represents a portion of a document whose content is only indirectly related to the document's main content. Asides are frequently presented as sidebars or call-out boxes.
7 <audio> HTML element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element:
the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.

B


# Tag Description
1 <b> HTML element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b> for styling text; instead, you should use the CSS font-weight property to create boldface text, or the <strong> element to indicate that text is of special importance.
2 <base> HTML element specifies the base URL to use for all relative URLs in a document. There can be only one <base> element in a document.
3 <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document.
4 <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
5 <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs a programmable action, such as submitting a form or opening a dialog.

C


# Tag Description
1 <canvas> Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.
2 <caption> The <caption> HTML element specifies the caption (or title) of a table.
3 <cite> HTML element is used to describe a reference to a cited creative work, and must include the title of that work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.
4 <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent's default monospace font.
5 <col> The <col> HTML element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <col>group element.
6 <colgroup> The <colgroup> HTML element defines a group of columns within a table.

D


# Tag Description
1 <data> The <data> HTML element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the >time> element must be used.
2 <datalist> The <datalist< HTML element contains a set of <option< elements that represent the permissible or recommended options available to choose from within other controls.
3 <dd> The <dd> HTML element provides the description, definition, or value for the preceding term (>dt>) in a description list (>dl>).
4 <div> The <div> HTML element is the generic container for flow content. It has no effect on the content or layout until styled in some way using CSS (e.g. styling is directly applied to it, or some kind of layout model like Flexbox is applied to its parent element).

E


# Tag Description
1 <e> The <em> HTML element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.
2 <embed> The <em> HTML element marks text that has stress emphasis. The element can be nested, with each level of nesting indicating a greater degree of emphasis.

F


# Tag Description
1 <footer> The <footer> HTML element represents a footer for its nearest ancestor sectioning content or sectioning root element. A <footer> typically contains information about the author of the section, copyright data or links to related documents.
2 <form> The <form> HTML element represents a document section containing interactive controls for submitting information.

H


# Tag Description
1 <head> The <head> HTML element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets.
2 <header> The <form> HTML element represents a document section containing interactive controls for submitting information.
3 <hr> The <hr> HTML element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.

I


# Tag Description
1 <img> The <img> HTML element embeds an image into the document.
2 <input> The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

L


# Tag Description
1 <label> The <label> HTML element represents a caption for an item in a user interface.
2 <li> The <label> HTML element represents a caption for an item in a user interface.
3 <link> The <link> HTML element 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.

N


# Tag Description
1 <nav> The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.

S


# Tag Description
1 <section> The <section> HTML element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it. Sections should always have a heading, with very few exceptions.
2 <span> The <span> HTML element is a generic inline container for phrasing content, which does not inherently represent anything.
3 <strong> The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type
4 <style> The <style> HTML element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <style> element.