NextGrowth Labs

Home

Services

Tools

Case Studies

Blog

Contact

NextGrowthLabs

NextGrowth Labs Private Limited

#27, Santosh Tower,
Second Floor, JP Nagar,
4th Phase, 4th Main 100ft Ring Road
Bangalore - 560078

Email:

contact@nextgrowthlabs.com

Follow Us

Consulting

App Store Optimization

Mobile App Promotion

Search Engine Optimization

Paid Campaigns

Free App Analysis

Improve Pagespeed

Mobile & Web Analytics

SEO Site Audit

SEO Services in Bangalore

SEO Services in Mumbai

ASO Services in Bangalore

ASO Services in Mumbai

Free Tools

SEO Auditor

Sitemap Analyzer

App Rank Checker

SEO Content Assistant

iOS Keyword Search

Bulk Page Speed Assessment

Bulk iOS Keyword Rank Tracker

Html Editor

Website Rank Checker

Emi Calculator

Keyword Shuffle Tool

Multi Tool

Keyword Suggestion

Title & Meta Description

Keyword Density Tool

Internal Links Checker

Keyword Generator Tool

Web Mobile Friendly Checker

Website Technology Checker

Font Changer Tool

Word to HTML Converter

Robots.txt Generator

Rating Projection Calculator

JSON Editor

Cloud Data Warehouse Setup Cost Calculator

Web Page Crawler

Youtube Video Tag Extractor

Youtube Hashtag Generator

Youtube Video Title Extractor

Youtube Video Description Extractor

YouTube Channel Audit Tool

Redirect Checker

Robots.txt Generator

Password Generator

Robots.txt Tester

SERP Snippet Generator

Google Location Changer

Domain Age Checker

Word Counter

AI Tools

AI Text Humanizer Tool

AI Paragraph Rewriter

AI Rewording Tool

AI Summarizer Tool

AI Paraphrasing Tool

Sentence Rewriter Tool

Grammar Checker Tool

Paragraph Generator Tool

Hook Generator Tool

AI Content Detector

AI Conclusion Generator

Instagram Name Generator

YouTube Keyword Generator

YouTube Video Title Generator

YouTube Video Description

YouTube Video idea Generator

YouTube Channel Name Generator

YouTube Content Generator

SEO Title Generator

Meta Description Generator

Instagram Hashtag Generator

AI Slogan Generator

AI Acronym Generator

Our mission is to leverage technology and data science to maximize your app's organic users.

Google Premier Partner 2025

Contact Us

Privacy policy

Terms of service

©NextGrowthLabs 2026. All rights reserved.

Home

/

Blog

/

All HTML Tags and Their Function

All HTML Tags and Their Function

P

Praveen Kumar

November 24, 2025

•

13 min read

Let AI summarise and analyse this post for you:

ChatGPTPerplexityClaudeGrokGoogle AIGemini
html tags

Every time you visit the internet, you interact with HTML codes and related tags. HTML is primarily used to develop web pages as well as web applications that run on different web browsers like Google Chrome, Firefox, or Microsoft Edge. So, let’s understand the concept of HTML and different HTML tag use.

What is HTML?

HTML stands for Hypertext Markup Language. It is the language used to describe structured documents and for creating web pages online. You can use a variety of text editors to write the HTML codes. Alternatively, you can also leverage free tools such as HTML Editor or Word to HTML Converter to write or edit your codes.

Define Tag in HTML

HTML tags are like keywords that are used to produce web pages in different formats. With the aid of HTML code tags, a web browser can distinguish between HTML content and simple content. There are three parts of an HTML tag- the opening tag, the content, and the closing tag. You can also find some HTML tags with unclosed tags.

A web browser reads an HTML tag from top to bottom, and from left to right. You can use these tags to create HTML documents and render their properties. For example, <html> is the opening tag, whereas </html> is the closing tag. Note that the closing tag has the same text as the opening tag, but has an additional forward slash (/) character.

Each HTML tag has different properties which you can use for different purposes. An HTML file needs to consist of some essential tags. This helps the web browsers understand the differences between HTML and simple content. You can use as many tags according to your code requirements.

A to Z list of HTML Tags

Here is the complete list of different types of tags in HTML:

Tag NameFunction
&lt;!– –&gt;This tag is used to apply comments in an HTML document.
&lt;!DOCTYPE&gt;Used for specifying the version of HTML being used.
A
&lt;a&gt;Termed as the anchor tag, an important tag in HTML, it is used to create a hyperlink or link.
&lt;abbr&gt;This tag defines an abbreviation for a phrase or longer word.
&lt;acronym&gt;It defines the acronym for a word that gives useful information to browsers, search engines, and translation systems. (Not supported in HTML5)
&lt;address&gt;It indicates the contact information of a person or an organization.
&lt;applet&gt;Used for embedding Java applets into any HTML document. (Not supported in HTML5)
&lt;area&gt;Used in an HTML document to map a portion of an image so that it becomes clickable for the end-user.
&lt;article&gt;Represents an article and is a new sectioning element in HTML5.
&lt;audio&gt;Used for embedding sound in content in HTML documents.
&lt;aside&gt;It defines content aside from the main content and is represented as a sidebar.
B
&lt;b&gt;This tag makes the text bold.
&lt;base&gt;Defines the base URL for all relative URLs in a document.
&lt;basefont&gt;Used for setting a default font, size, as well as color for all elements of a document.(Not supported in HTML5)
&lt;bdi&gt;Stands for Bi-directional isolation and differentiates a text from other text that may be formatted in different directions from its surrounding text.
&lt;bdo&gt;Stands for Bi-directional override and is used to specify the text directions used to change the current direction of the text.
&lt;bgsound&gt;Used for playing the soundtrack in the background.
&lt;big&gt;Used for increasing the size of the selected text by one size larger than the surrounding text.(Not supported in HTML5)
&lt;blockquote&gt;Used for displaying a quotation/content taken from another source.
&lt;body&gt;Used for defining the body section of an HTML document.
&lt;br&gt;Used for applying a single link break.
&lt;button&gt;Used for representing a clickable button.
C
&lt;canvas&gt;Used for providing a graphics space within a web document and can be used for drawing paths, boxes, texts, gradients, and adding images.
&lt;caption&gt;Used for defining a caption for a table.
&lt;center&gt;Used for aligning the content in the center.(Not supported in HTML5)
&lt;cite&gt;Used for defining the title of a work, book, or website, among others. It displays the text in italic format.
&lt;code&gt;Used for displaying a part of the programming code in an HTML document.
&lt;col&gt;Defines a column within a table which represents common properties of columns and used with &lt;colgroup&gt; elements.
&lt;colgroup&gt;Useful for applying styles to entire columns, instead of repeating the styles for each column and row separately.
D
&lt;data&gt;This tag links the content within machine-readable translation.
&lt;datalist&gt;Used for providing a predefined list for input options. It has an autocomplete feature and is used with an input tag so that users can easily fill relevant data into forms using the given data.
&lt;dd&gt;Used for denoting definition/description of a term in the description list.
&lt;del&gt;Defines the text which has been deleted from a document.
&lt;details&gt;Can be used to create an interactive widget that defines the additional details which a user can either view or hide.
&lt;dfn&gt;Used for indicating a term which is defined with a sentence or phrase.
&lt;dialog&gt;It defines a dialog box or other interactive components.
&lt;dir&gt;Used as a container for a directory list of files.(Not supported in HTML5)
&lt;div&gt;Used for making divisions of content in a web page. It can be used for dividing text, images, headers, footers, navigation bar, among others.
&lt;dl&gt;Used for defining a description list.
&lt;dt>Used for defining a term in the description list. It is usually used inside the &lt;dl&gt; element and followed by a &lt;dd&gt; tag.
E
&lt;em&gt;Used for emphasizing the content applied within this element.
&lt;embed&gt;Used as an embedded container for external files, or applications or media, etc.
F
&lt;fieldset&gt;Used for grouping related elements/labels within a web form.
&lt;figcaption&gt;Used for adding a caption or explanation for the &lt;figure&gt; element.
&lt;figure&gt;Used for defining the self-contained content like diagrams, illustrations, photos, or codes in a document and is mostly referred to as a single unit.
&lt;font&gt;It defines the font, size, color, and face for the content and helps in creating a readable web page.(Not supported in HTML5)
&lt;footer&gt;Defines the footer section of a webpage.
&lt;form&gt;Used for defining an HTML form used for the registration process and logging into a profile among others.
&lt;frame&gt;Defines a particular area of a web page which can contain another HTML file.(Not supported in HTML5)
&lt;frameset&gt;Defines a group of frames and is used to specify the number of rows and columns used in a frameset with their pixel of spaces.(Not supported in HTML5)
H
&lt;h1&gt; to &lt;h6&gt;This tag defines headings for an HTML document from level 1 (the highest level) to 6 (the lowest level).
&lt;head&gt;Defines the head section of an HTML document.
&lt;header&gt;Defines the header of a section or web page.
&lt;hgroup&gt;Used for wrapping one or more heading elements from &lt;h1&gt; to &lt;h6&gt;, such as the headings and subheadings.
&lt;hr&gt;Used for applying thematic breaks between paraphrase-level elements.
&lt;html&gt;Represents the root of HTML and XHTML documents.
I
&lt;i&gt;This tag is used to represent a text in a different language.
&lt;iframe&gt;Defines a rectangular region within a document which a browser can display in a separate document.
&lt;img&gt;Used for inserting an image within an HTML document.
&lt;input&gt;Defines an input field within an HTML form.
&lt;ins&gt;Represents text that has been inserted within an HTML document.
&lt;isindex&gt;Used for displaying search strings for current documents or query any document through a text field. (Not supported in HTML5)
K
&lt;kbd&gt;It is used to define keyword input and is typically displayed in the browser’s default monospace font.
&lt;keygen&gt;Used for specifying a key-pair generator field in a form which is created when a form is submitted- a private key and a public key.
L
&lt;label&gt;Defines a text label for the input field of a form.
&lt;legend&gt;Defines a caption for the content of &lt;fieldset&gt; or the child contents. The legend elements are the parent element.
&lt;li&gt;Represents items in a list. When used within an ordered list, it is written &lt;ol&gt; and for unordered list, it is written as &lt;ul&gt;.
&lt;link&gt;Represents a relationship between a current document and an external resource.
M
&lt;main&gt;This tag represents the main content of an HTML document.
&lt;map&gt;It defines an image map with active areas.
&lt;mark&gt;Represents a marked or highlighted text.
&lt;marquee&gt;Used for inserting the scrolling text or an image in either horizontal or vertical format. (Not supported in HTML5)
&lt;menu&gt;Used for creating a menu list of commands.
&lt;menuitem&gt;Defines a command or menu that a user can utilize from popup items. (Not supported in HTML5)
&lt;meta&gt;Defines metadata of an HTML document.
&lt;meter&gt;Defines the scalar measurement with known range and also supports the fractional value.
N
&lt;nav&gt;Used for declaring the navigational section in HTML documents that makes it easier for users to navigate a site.
&lt;nobr&gt;Used for creating a single line text. It does not matter how long a statement is and is used with the &lt;wbr&gt; tag.
&lt;noembed>Used for showing that a browser is not supported by the &lt;embed&gt; tag.
&lt;noframes&gt;Provides alternate content to represent in the browser which does not support the &lt;frame&gt; elements.(Not supported in HTML5)
&lt;noscript&gt;Provides an alternative content if a script type is not supported by the browser.
O
&lt;object&gt;Used for embedding an object in an HTML file.
&lt;ol&gt;Defines an ordered list of items, thereby, a list tag in HTML.
&lt;optgroup&gt;Use for grouping options of a drop-down list.
&lt;option&gt;Used for defining options or items in a drop-down list.
&lt;output&gt;Used as a container element which can show results of a calculation.
P
&lt;p&gt;This tag represents a paragraph in an HTML document.
&lt;param&gt;Defines a parameter for plug-ins which is associated with &lt;object&gt; elements.
&lt;phrase&gt;Indicates the structural meaning of a block of text.
&lt;picture&gt;Defines more than one source element and one image element.
&lt;pre&gt;Defines preformatted text in an HTML document and preserves the text spaces.
&lt;progress&gt;Defines the progress of a task within an HTML document.
Q
&lt;q&gt;This tag is a standard tag used for short quotations.
R
&lt;rp&gt;Defines an alternative content if a browser does not support ruby annotations. It provides parenthesis around a ruby main text, defining the information.
&lt;rt&gt;Defines the explanations and pronunciations in ruby annotations which is a small text, attracted to the main text.
&lt;ruby&gt;Used for representing ruby annotations.
S
&lt;s&gt;This tag is used to render text which is no longer correct or relevant.
&lt;samp&gt;Used for representing sample output of a computer program. It is an output tag in HTML.
&lt;script&gt;Used to declare the JavaScript or client-side script within an HTML document.
&lt;section&gt;Defines a generic section of a document such as chapters, headers, footers, or other sections.
&lt;select&gt;Represents a control which provides a menu of options.
&lt;small&gt;Used for making text font one size smaller that document’s base font size.
&lt;source&gt;Defines multiple media resources for different media elements in HTML such as &lt;picture&gt;, &lt;audio&gt;, and &lt;video&gt; element.
&lt;spacer&gt;Used for creating some white space.(Not supported in HTML5)
&lt;span&gt;Used for styling and grouping inline elements and content.
&lt;strike&gt;Defines a strike or line through a text.(Not supported in HTML5)
&lt;strong&gt;Used for defining important text and it makes the text bold.
&lt;style&gt;This tag consists of style elements and is helpful for designing a web page.
&lt;sub&gt;Defines a text which displays a subscript text.
&lt;summary&gt;Defines the summary and can be used with the &lt;details&gt; tag.
&lt;sup&gt;Defines a text which displays a superscript text.
&lt;svg&gt;Used as a contailer of the scalable vector graphics (SVG).
T
&lt;table&gt;Used for presenting data in a tabular form or creating a table within a HTML document.
&lt;tbody&gt;Represents the body content of an HTML table and is used along with &lt;thead&gt; and &lt;tfoot&gt;.
&lt;td&gt;Used for defining standard cells of an HTML table which contains table data.
&lt;template&gt;Used for containing the client-side content which will not display at time of when the page is loading and may render later using JavaScript.
&lt;textarea&gt;Usedfor defining multiple line input, such as comment. feedback, and review.
&lt;tfoot&gt;Defines the footer content of an HTML table.
&lt;th&gt;Defines the head cell of an HTML table.(Not supported in HTML5)
&lt;thead&gt;Defines the header of an HTML table and is used along with &lt;tbody&gt; and &lt;tfoot&gt;.
&lt;time&gt;Used for defining data or time within an HTML document in a machine-readable format.
&lt;title&gt;Defines the title or name of an HTML document.
&lt;tr&gt;Defines the row cells in an HTML table. It contains multiple &lt;th&gt; or &lt;td&gt; elements.
&lt;track&gt;Used for defining text tracks for &lt;audio&gt; and &lt;video&gt; elements.
&lt;tt&gt;Used for defining teletype text and helped in marking keyboard input.(Not supported in HTML5)
U
&lt;u&gt;This tag is used for rendering enclosed text with an underline.
&lt;ul&gt;Defines unordered list of items.
V
&lt;var&gt;Defines variable names used in mathematical or programming context.
&lt;video&gt;Used for embedding a video content with an HTML document.
W
&lt;wbr&gt;Defines a position within a text where a break line is possible.
X
&lt;xmp&gt;Used for creating any content in letter format.

Conclusion

Thus, there are numerous HTML tags with distinctive functions. HTML is the foundation of webpages and by using this language, you can develop web pages as well as web apps. So, thoroughly understand all tags by following this best guide of tag lists to grasp a clear understanding of how and where to use the HTML tags.

Table of contents

1. What is HTML?2. Define Tag in HTML3. A to Z list of HTML Tags4. Conclusion5. Related posts

Share

LinkedInXFacebook

Related Articles

News content google serp

SEO

March 28, 2026

How To Optimize News Content For Today’s Social-First Google SERP

Apple Ads

Uncategorized

March 26, 2026

Run an Apple Search Ad: Top Tips, Keyword Checker, Popularity

Best Medicine Delivery Apps

Top Apps

March 26, 2026

🏥 The Best Medicine Delivery Apps in India 2026