View video tutorial

HTML References

HTML

The page shows all the HTML elements and their descriptions according to their category.

HTML Element List

The table below lists all HTML elements and shows what the elements are used for.

Basic HTML Elements

Tag Name Description
<!DOCTYPE> This defines the document type.
<!--comments--> This defines a comment.
<body> It defines the body of the document.
<br> This defines a single line break.
<h1> to <h6> They Define HTML headings.
<head> It contains document metadata information.
<hr> It defines a horizontal line of content.
<html> It defines the root of an HTML document.
<p> This defines a paragraph.
<title> This defines a title for the document.

Formatting HTML Elements

Tag Name Description
<abbr> This defines an abbreviation.
<acronym> This defines an acronym.
Not supported in HTML5.
<address> It defines the contact information for the author/owner of a document.
<b> This defines bold text.
<bdi> Delimits a piece of text that can be oriented differently from other text outside of it.
<bdo> This overrides the current text direction.
<big> This defines big text.
Not supported in HTML5. Use CSS instead.
<blockquote> This defines a section quoted from another source.
<center> This defines centered text.
Not supported in HTML5. Use CSS instead.
<cite> This defines the title of a art work.
<code> It defines a computer code.
<del> It defines the text to be deleted from a document.
<dfn> It specifies a word that will be defined within the content.
<em> This defines emphasized text.
<i> This defines the text in italic style.
<ins> It defines a text that is inserted into a document.
<kbd> This defines keyboard input.
<mark> This defines marked or highlighted text.
<meter> It defines a scalar measurement within a known range.
<pre> This defines preformatted text.
<progress> This represents the progress of a task.
<q> This defines a short quotation.
<rt> It defines an interpretation/pronunciation of the character.
<ruby> This defines a ruby annotation.
<s> It defines text that is no longer valid or correct.
<samp> It defines sample output from a computer program.
<small> This defines smaller text.
<strong> This defines important text.
<sub> This defines subscripted text.
<sup> This defines superscripted text.
<template> It defines a container for content that should be hidden when the page loads.
<time> This defines a specific time.
<u> It defines underlined text or represents misspelled words.
<var> This defines a variable.
<wbr> This sets a possible line-break position.

HTML Input and Form Elements

Tag Name Description
<button> This defines a clickable button.
<datalist> It specifies a list of predefined options for input element.
<fieldset> It groups related elements on a form.
<form> It defines an HTML form.
<input> This defines an input control.
<label> This defines a label for an input element.
<legend> It defines a caption for a fieldset element.
<optgroup> It defines a group of related options in a drop-down list.
<option> This defines an option in a drop-down list.
<output> It defines the result of a calculation.
<select> This defines a drop-down list.
<textarea> This defines a multiline input control.

HTML Frame Elements

Tag Name Description
<iframe> It defines an inline frame.

HTML Image Elements

Tag Name Description
<area> It defines an area inside an image map.
<canvas> It is used to draw graphics through scripting.
<figcaption> This defines a caption for an figure element.
<figure> It represents self-contained content.
<img> This defines an image.
<map> This defines an image map.
<picture> It defines a container for image resources.
<svg> This defines a container for SVG graphics.

HTML Audio Video Elements

Tag Name Description
<audio> This defines embedded sound content.
<source> This defines multiple media resources for media elements audio and video.
<track> It defines text tracks for audio and video media elements.
<video> This defines embedded video content.

HTML Link Elements

Tag Name Description
<a> This defines a hyperlink.
<link> It defines the relationship between a document and an external resource.
<nav> This defines navigation links.

HTML List Elements

Tag Name Description
<dd> This defines a description of a term in a definition list.
<dl> This defines a description list.
<dt> This Defines a definition term in a description list.
<li> This defines a list item.
<ol> This defines an ordered list.
<ul> This defines an unordered list.

HTML Table Elements

Tag Name Description
<caption> This defines a table caption.
<col> This specifies column properties for each column within a colgroup element.
<colgroup> It specifies a group of one or more columns in a table for formatting.
<table> This defines an HTML table.
<tbody> This groups the body content in a table.
<td> It defines a cell within a table.
<tfoot> This groups the footer content in a table.
<th> This defines a header cell in a table.
<thead> This groups the header content in a table.
<tr> This defines a row in a table.

HTML Style and Layout Elements

Tag Name Description
<article> This defines an article.
<aside> It defines content in addition to page content.
<data> It adds a machine-readable translation of a given piece of content.
<details> It defines additional details that the user can see or hide.
<dialog> It defines a dialog box or window.
<div> This defines a division or section in a document.
<footer> It defines a footer for a document or section.
<header> This defines a header for a document.
<main> This specifies the main content of a document.
<section> This defines a section in a document.
<span> This defines an inline section in a document.
<style> This defines CSS style for a document.
<summary> It defines a visible title for a element.

HTML Meta Elements

Tag Name Description
<base> It specifies the base URL for all relative URLs in a document.
<head> It contains document metadata information.
<meta> It defines metadata about an HTML document.

HTML Scripting Elements

Tag Name Description
<applet> It defines an embedded applet.
Not supported in HTML5.
<embed> It defines a container for an external application.
<noscript> It defines an alternative content for users that do not support client-side scripting.
<object> This defines a container for an external application.
<param> This defines a parameter for an object.
<script> This defines a client-side scripting.