HTML Tags List
All HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties.
A complete list of standard tags belonging to the latest version HTML5 and XHTML 1.1 specifications. All the tags are listed alphabetically.
TAGS:
A:
<a> – Defines a hyperlink.
<abbr> – Defines an abbreviation for a phrase or longer word.
<acronym> – Defines an acronym. Use <abbr> instead (Not supported in HTML5).
<address> – Defines the author’s contact information.
<applet> – It defines an embedded Java applet, Use <object> instead (Not supported in HTML5).
<area> – Defines a specific area within an image map.
<article> – It defines the self-contained content.
<aside> – Defines content aside from the main content. Mainly represented as the sidebar.
<audio> – It is used to embed sound or audio content in an HTML document.
B:
<b> – Displays text in a bold style.
<base> – Defines the base URL for all relative URLs within the document.
<basefont> – Specifies the base font for a page. Use CSS instead(font, size, and color for all elements) Not supported in HTML5.
<bdi> – Provide isolation for that part of the text which may be formatted in different directions from its surrounding text.
<bdo> – Overrides the current text direction.
<big> – Displays text in a large size. Use CSS instead(Not supported in HTML5).
<blockquote> – It is used to define content that is taken from another source.
<body> – Defines the body section of an HTML document.
<br> – It is used to apply a single line break.
<button> – Creates a clickable button.
C:
<canvas> – It is used to provide a graphics(usually JavaScript) space within a web document.
<caption> – It is used to define a caption or title of the table.
<center> – Align contents in the center. Use CSS instead.
<cite> – Indicates a citation or reference to another source.
<code> – Specifies a part of the programming code in an HTML document.
<col> – It defines a column within a table that represents common properties of columns and used with the <colgroup> element.
<colgroup> – It is used to define a group of columns in a table.
D:
<data> – It is used to link the content with the machine-readable translation.
<datalist> – Provide a set of predefined lists for the input option.
<dd> – Is used to provide a definition/description (<dt>) of a term in the description list (<dl>).
<del> – Represents text which has been deleted from the document.
<details> – It uses additional details which user can either view or hide.
<dfn> – Defined within a sentence/phrase , definition..
<dialog> – It is using a dialog box or other interactive components.
<dir> – It is used as a container for a directory list of files <ul>.
<div> – It defines a division or section within an HTML document.
<dl> – Define a description list.
<dt> – Define a term in description list.
E:
<em> – Defines emphasized text.
<embed> – It is used as an embedded container for external file, application, video or audio, etc.
F:
<fieldset> – It is used to group related elements or labels within a web form.
<figcaption> – Defines a caption or explanation for the <figure> element.
<figure> – It is used to define the self-contained content and s mostly refer as a single unit.
<font> – It defines the font, size, color, and face of the content.
<footer> – It defines the footer section of a webpage.
<form> – Defines an HTML form for user input.
<frame> – It defines a particular area of a webpage that can contain another HTML file.
<frameset> – Defines a collection of frames or another frameset.
H:
<h1> to <h6> – Defines HTML headings (h1 to h6).
<head> – Defines the head portion of the document that contains information about the document such as the title.
<header> – Defines the header of a document or a section.
<hr> – Produce a horizontal line.
<html> – It represents the root of an HTML document.
I:
<i> – Displays text in an italic style.
<iframe> – Displays a URL in an inline frame.
<img> – Represents an image.
<input> – Defines an input control.
<ins> – Defines a block of text that has been inserted within an HTML document.
<isindex> – Search string for current document.
K:
<kbd> – It is used to define keyboard input.
<keygen> – Control for generating a public-private key pair.
L:
<label> – Defines a label for an <input> control.
<legend> – Caption for content of <fieldset>
<li> – Represent items in list.
<link> – It represents a relationship between the current document and an external resource.
M:
<main> – Main or dominant content of the document.
<map> – Image map with active areas.
<mark> – Highlighted text.
<marquee> – Moving text or an image either horizontally or vertically.
<menu> – Creating a menu list of commands.
<meta> – It defines metadata of an HTML document.
<meter> – Scalar measurement within a known range.
N:
<nav> – Defines a section of navigation links.
<noframes> – It provides alternate content to represent in the browser which does not support the <frame> elements.
<noscript> – Alternative content if a script type does not support in the browser.
O:
<object> – Embed an object in HTML file.
<ol> – Ordered list of items.
<optgroup> – Group the options of a drop-down list.
<option> – Defines an option in a selection list.
<output> – Represents the result of a calculation.
P:
<p> – Defines a paragraph.
<param> – Parameter for an object or applet element.
<picture> – Container for multiple image sources.
<pre> – Block of preformatted text.
<progress> – Progress of a task within HTML document.
Q:
<q> – Defines a short inline quotation.
R:
<rp> – Provides fall-back parenthesis for browsers that don’t support ruby annotations.
<rt> – Defines the pronunciation of characters presented in ruby annotations.
<ruby> – Represents a ruby annotation.
S:
<s> – It renders text which is no longer correct or no longer relevant.
<samp> – Sample output of a computer program.
<script> – Declare the JavaScript within HTML document.
<section> – Defines a section of a document, such as a header, footer, etc.
<select> – Selection list within a form.
<small> – Displays text in a smaller size.
<source> – Defines alternative media resources for the media elements like <picture>, <audio> or <video>.
<span> – Inline styleless section in a document.
<strike> – Displays text in strikethrough style.
<strong> – Indicate strongly emphasized text.
<style> – Style information for an HTML document.
<sub> – Defines subscripted text.
<summary> – Used with <details> tag.
<sup> – Defines superscripted text.
<svg> – Embed SVG (Scalable Vector Graphics) content in an HTML document.
T:
<table> – Defines a data table.
<tbody> – Groups a set of rows and columns defining the main body of the table data.
<td> – Defines a cell in a table.
<template> – It is used to contain the client-side content which will not display at the time of page load and may render later using JavaScript.
<textarea> – Multi-line text input control (text area).
<tfoot> – Footer content of an HTML table.
<th> – Defines a header cell in a table.
<thead> – Defines the Groups a set of rows that describes the column labels of a table.
<time> – Represents a time and/or date.
<title> – Defines a title for the document.
<tr> – Defines a row of cells in a table.
<track> – Text tracks for <audio> and <video> elements.
<tt> – Displays text in a teletype style.
U:
<u> – Displays text with an underline.
<ul> – Defines an unordered list.
V:
<var> – It defines the variable name used in the mathematical or programming context.
<video> – Embeds video content in an HTML document.
W:
<wbr> – Represents a line break opportunity.