HTML Tags List

Much like a keyword, HTML Tags are used to specify the way to format and display the content of a web browser. An HTML content is distinguished from simple content because of these tags only. Opening tag, content and closing tag are the main parts of an HTML tag which are enclosed within < > brackets. Some HTML tags are however unclosed. HTML tags differ in their properties. Some tags are essential in an HTML file to differentiate it from a simple file.

Syntax:

<tag> content </tag>

Example:

<!DOCTYPE html>
<html>
<head>
<title>Example</title>
</head>
<body>
<h2>Hello World!!</h2>
<p>Hello World!!</p>
<b>Hello World!!</b><br>
<i>Hello World!!</i><br>
<u>Hello World!!</u><br>
</body>
</html>

Output:

Explanation:

In the above example, certain HTML tags are used.

Unclosed HTML Tags:

HTML tags like <br> and <hr> are not closed.

<br>: The Break Line tag is used to break the line of code.

<hr>: The Horizontal Rule tag is used to put a line across a webpage.

HTML Meta Tags:

The HTML Meta Tags includes:

DOCTYPE, title, link, meta and style.

HTML Text Tags:

The HTML Text Tags includes:

<p>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <strong>, <em>, <abbr>, <acronym>, <address>, <bdo>, <blockquote>, <cite>, <q>, <code>, <ins>, <del>, <dfn>, <kbd>, <pre>, <samp>, <var> and <br> tags.

HTML Link Tags:

The HTML Link Tags includes:

<a> and <base> tags.

HTML Image and Object Tags:

The HTML Image and Object Tags includes:

<img>, <area>, <map>, <param> and <object> tags.

HTML List Tags:

The HTML List Tags includes:

<ul>, <ol>, <li>, <dl>, <dt> and <dd> tags.

HTML Table Tags:

The HTML Table Tags includes:

<table>, <tr>, <td>, <th>, <tbody>, <thead>, <tfoot>, <col>, <colgroup> and <caption> tags.

HTML Form Tags:

The HTML Form Tags includes:

<form>, <input>, <textarea>, <select>, <option>, <optgroup>, <button>, <label>, <fieldset> and <legend> tags.

HTML Scripting Tags:

The HTML Scripting Tags includes:

<script> and <noscript> tags.

HTML Tags List:

The alphabetical list of HTML tags are arranged below:

HTML Tags by Alphabets:

Tag name Uses
<!– –> To apply comment in an HTML document.
<!DOCTYPE> To specify the version of HTML
A
<a> To create a hyperlink or link.
<abbr> To specify an abbreviation for a phrase or a word.
<acronym> To specify an acronym for a word. It is not supported in HTML5.
<address> To specify the contact information of the author of an HTML article.
<applet> To specify an embedded Java applet. It is not supported in HTML5.
<area> To specify an area of an image map.
<article> To specify an self-contained content.
<aside> To specify a content aside from main content and is mainly represented as sidebar.
<audio> To embed sound content in HTML document.
B
<b> To make text bold.
<base> To specify the base URL for all relative URLs within the document.
<basefont> To set default font, size and color for all elements of the document. It is not supported in HTML5.
<bdi> To provide isolation for that part of text which may be formatted in different directions from its surrounding text.
<bdo> To override the current text direction.
<big> To make font size one level larger than its surrounding content. It is not supported in HTML5.
<blockquote> To specify a content which is taken from another source.
<body> To specify the body section of an HTML document.
<br> To apply single line break.
<button> To represent a clickable button.
C
<canvas> To facilitate a graphics space within a web document.
<caption> To specify a caption for a table.
<center> To align the content in center. It is not supported in HTML5.
<cite> To specify the title of the work, books, websites, etc.
<code> To display a part of programming code in an HTML document.
<col> To specify a column within a table which represent common properties of columns.
<colgroup> To specify group of columns in a table.
D
<data> To link the content with the machine-readable translation.
<datalist> To facilitate a predefined list for input option.
<dd> To facilitate definition/description of a term in description list.
<del> To specify a text which has been deleted from the document.
<details> To specify additional details which user can either view or hide.
<dfn> To indicate a term which is defined within a sentence/phrase.
<dialog> To specify a dialog box or other interactive components.
<dir> To be used as a container for directory list of files. It is not supported in HTML5.
<div> To specify a division or section within HTML document.
<dl> To specify a description list.
<dt> To specify a term in description list.
E
<em> To emphasize the content applied within this element.
<embed> To be used as an embedded container for external file/application/media.
F
<fieldset> To group related elements/labels within a web form.
<figcaption> To add a caption or explanation for the <figure> element.
<figure> To specify the self-contained content, and is mostly referred as single unit.
<font> To specify the font, size, color, and face for the content. It is not supported in HTML5.
<footer> To specify the footer section of a webpage.
<form> To specify an HTML form.
<frame> To specify a particular area of webpage which can contain another HTML file. It is not supported in HTML5.
<frameset> To specify group of Frames. It is not supported in HTML5.
H
<h1> to <h6> To specify headings for an HTML document from level 1 to level 6.
<head> To specify the head section of an HTML document.
<header> To specify the header of a section or webpage.
<hr> To apply thematic break between paragraph-level elements.
<html> To represent root of an HTML document.
I
<i> To represent a text in some different voices.
<iframe> To specify an inline frame which can embed other content.
<img> To insert an image within an HTML document.
<input> To specify an input field within an HTML form.
<ins> To represent text that has been inserted within an HTML document.
<isindex> To display search string for current document. It is not supported in HTML5.
K
<kbd> To specify keyboard input.
L
<label> To specify a text label for the input field of form.
<legend> To specify a caption for content of <fieldset>
<li> To represent items in list.
<link> To represent a relationship between the current document and an external resource.
M
<main> To represent the main content of an HTML document.
<map> To specify an image map with active areas.
<mark> To represent a highlighted text.
<marquee> To insert the scrolling text or an image either horizontally or vertically. It is not supported in HTML5.
<menu> To create a menu list of commands.
<meta> To specify metadata of an HTML document.
<meter> To specify scalar measurement with known range or fractional value.
N
<nav> To represent section of page to represent navigation links.
<noframes> To facilitate alternate content to represent in browser which does not support the <frame> elements. It is not supported in HTML5.
<noscript> To facilitate an alternative content if a script type is not supported in browser.
O
<object> To embed an object in HTML file.
<ol> To facilitate an ordered list of items.
<optgroup> To group the options of a drop-down list.
<option> To specify options or items in a drop-down list.
<output> To be used as container element which can show results of a calculation.
P
<p> To represent a paragraph in an HTML document.
<param> To specify parameter for an <object> element
<picture> To specify more than one source element and one image element.
<pre> To specify preformatted text in an HTML document.
<progress> To specify the progress of a task within an HTML document.
Q
<q> To specify short inline quotations.
R
<rp> To specify an alternative content if browser does not support ruby annotations.
<rt> To specify explanations and pronunciations in ruby annotations.
<ruby> To represent ruby annotations.
S
<s> To render text which is no longer correct or relevant.
<samp> To represent sample output of a computer program.
<script> To declare the JavaScript within HTML document.
<section> To specify a generic section for a document.
<select> To represent a control which provides a menu of options.
<small> To make text font one size smaller than document?s base font size.
<source> To specify multiple media resources for different media element such as <picture>, <video>, and <audio> element.
<span> To style and to group inline.
<strike> To render strikethrough the text. It is not supported in HTML5.
<strong> To define important text.
<style> To contain style information for an HTML document.
<sub> To specify a text which displays as a subscript text.
<summary> To specify summary which can be used with <details> tag.
<sup> To specify a text which represent as superscript text.
<svg> To be used as container of SVG (Scalable Vector Graphics).
T
<table> To present data in tabular form or to create a table within HTML document.
<tbody> To represent the body content of an HTML table.
<td> To specify cells of an HTML table which contains table data
<template> To contain the client side content which will not display at time of page load and may render later using JavaScript.
<textarea> To specify multiple line input, such as comments, feedback, and review, etc.
<tfoot> To specify the footer content of an HTML table.
<th> To specify the head cell of an HTML table.
<thead> To specify the header of an HTML table.
<time> To specify data/time within an HTML document.
<title> To specify the title or name of an HTML document.
<tr> To specify the row cells in an HTML table
<track> To specify text tracks for <audio> and <video> elements.
<tt> To specify teletype text. It is not supported in HTML5.
U
<u> To render enclosed text with an underline.
<ul> To specify unordered list of items.
V
<var> To specify variable name used in mathematical or programming context.
<video> To embed a video content with an HTML document
W
<wbr> To specify a position within text where break line is possible.

 

Please Share