All HTML Tags List


Document Structure:

Serial NumberTag NameDescriptionHTML Version
1<!DOCTYPE>Specifies the document type and version of HTML being used in the document. It helps browsers to render the document correctly.HTML 2.0
2<html>Represents the root of an HTML document, encapsulating all other HTML elements.HTML 2.0
3<head>Contains metadata or information about the HTML document, such as its title, character encoding, styles, and scripts.HTML 2.0
4<title>Defines the title of the HTML document, which is displayed in the browser’s title bar or tab.HTML 2.0
5<base>Specifies the base URL/target for all relative URLs in a document.HTML 2.0

Document Structure HTML Tags

The tags are good but I’m very poor in English.

TagDescriptionHTML Version
<!–…–>Define body content of html2.0
<!DOCTYPE> Defines a paragraph.2.0
<html>Defines the root of an HTML document, encapsulating the entire content.2.0
<head>Contains metadata about the document, such as title, stylesheets, scripts, and other essential information for browsers and search engines.
<title>Defines the document’s title, which appears in the browser’s title bar or tab. It helps users identify the content of the page.
<body>Contains the content of the document, such as text, images, links, and other elements visible to the user.

Text Formatting HTML Tags

description

TagDescriptionHTML Version
<p>Defines a paragraph, a block-level element used to group and format text content, creating distinct sections within the document.
<br>Inserts a single line break, forcing text to start from a new line without creating a new paragraph.
<hr>Defines a thematic break or horizontal rule, a visual separator used to indicate a change in topic or content.
<h1>Defines a top-level heading, indicating the most important section of the document. It has the highest level of hierarchy.
<strong>Defines strong importance or emphasis, indicating that the enclosed text should be given strong importance or emphasis.
<em>Defines emphasized text, indicating that the enclosed text should be emphasized in some way, typically displayed in italics.
<mark>Defines marked or highlighted text, indicating that the enclosed text should be highlighted or visually marked in some way.
<small>Defines small text, indicating that the enclosed text should be displayed in a smaller font size than the surrounding text.
<del>Defines deleted text, indicating that the enclosed text has been deleted or removed from the document.
<ins>Defines inserted text, indicating that the enclosed text has been inserted or added to the document.

Links and Anchors HTML tags

TagDescriptionHTML Version
<a>Defines a hyperlink, allowing users to navigate to another webpage or resource by clicking on the link.
<nav>Defines navigation links, typically used to create menus or lists of links for navigating within a website.

Lists HTML tags

TagDescriptionHTML Version
<ul>Defines an unordered list, presenting a list of items in no particular order, typically marked with bullets.
<ol>Defines an ordered list, presenting a list of items in a specified sequence, typically marked with numbers or letters.
<li>Defines a list item, representing an individual item within an ordered or unordered list.
<dl>Defines a description list, consisting of terms and their corresponding descriptions, typically used for glossaries or dictionaries.
<dt>Defines a term in a description list, representing the term or concept being defined.
<dd>Defines a description of the term in a description list, providing additional information or details about the term.

Table HTML Tags

TagDescriptionHTML Version
<table>Defines a table, organizing data into rows and columns for easier presentation and interpretation.
<caption>Defines a table caption, providing a title or description for the table to provide context for its contents.
<th>Defines a header cell in a table, representing a header for a column or row in the table.
<tr>Defines a row in a table, containing cells or data arranged horizontally within the table.
<td>Defines a cell in a table, containing data or content within a row and column intersection.

Forms HTML Tags

TagDescriptionHTML Version
<form>Defines an HTML form for user input, allowing users to submit data to a web server for processing.
<input>Defines an input control, such as a text field, checkbox, radio button, or submit button, within a form.
<button>Defines a clickable button, allowing users to trigger an action or submit a form within the document.
<select>Defines a dropdown list, allowing users to select one or more options from a list of predefined choices.
<option>Defines an option in a dropdown list, representing a selectable item within the list of options.
<label>Defines a label for an input element, providing a textual description or caption for the associated input control.
<textarea>Defines a multiline input control (text area), allowing users to enter and edit multiple lines of text.
<fieldset>Groups related elements in a form, such as input controls and labels, providing visual grouping and organization.
<legend>Defines a caption for a <fieldset> element, providing a title or description for the group of related form elements.
<datalist>Defines a list of pre-defined options for an <input> element, providing autocomplete functionality for user input.

Images HTML Tags

TagDescriptionHTML Version
<img>Defines an image within an HTML document, allowing the display of graphics, photographs, or other visual content.
<figure>Represents self-contained content, such as images, diagrams, or code snippets, along with an optional caption (<figcaption>).
<figcaption>Defines a caption for a <figure> element, providing a title or description for the associated content.

Audio and Video HTML Tags

TagDescriptionHTML Version
<audio>Embeds audio content, such as music or sound effects, into an HTML document, allowing users to listen to audio files directly within the page.
<video>Embeds video content, such as movies or video clips, into an HTML document, allowing users to watch video files directly within the page.
<source>Specifies multiple media resources for the <audio> and <video> elements, providing alternative formats or sources for the browser to choose from.
<track>Specifies text tracks for the <audio> and <video> elements, such as subtitles, captions, or descriptions, to enhance accessibility and user experience.

Semantic HTML Tags

TagDescriptionHTML Version
<header>Represents the introductory content or a group of navigational links at the top of a document or section.
<footer>Represents the footer of a document or section, typically containing information about the author, copyright, or contact details.
<main>Represents the main content of a document, excluding header, footer, and navigation elements.
<section>Represents a thematic grouping of content within a document, typically with a heading.
<article>Represents a self-contained piece of content that can be independently distributed or reused, such as a blog post or news article.
<aside>Represents content that is tangentially related to the content around it, such as sidebars or pull quotes.
<nav>Represents a section of navigation links, typically used to create menus or lists of links for navigating within a website.
<figure>Represents self-contained content, such as images, diagrams, or code snippets, along with an optional caption (<figcaption>).
<figcaption>Defines a caption for a <figure> element, providing a title or description for the associated content.

Metadata HTML Tags

TagDescriptionHTML Version
<meta>Provides metadata about the HTML document, including character set, author, description, keywords, and viewport settings.
<base>Specifies the base URL/target for all relative URLs in a document, helping resolve relative links correctly.
<link>Defines a link between a document and an external resource, such as stylesheets, favicons, or alternate versions of the page.

Scripting HTML Tags

TagDescriptionHTML Version
<script>Defines client-side JavaScript code, which adds interactivity and dynamic behavior to web pages.
<noscript>Defines alternative content to be displayed if JavaScript is not supported or disabled in the browser.

Embedded Content HTML Tags

TagDescriptionHTML Version
<img>Defines an image within an HTML document, allowing the display of graphics, photographs, or other visual content.
<audio>Embeds audio content, such as music or sound effects, into an HTML document, allowing users to listen to audio files directly within the page.
<video>Embeds video content, such as movies or video clips, into an HTML document, allowing users to watch video files directly within the page.
<iframe>Embeds an inline frame into an HTML document, allowing the inclusion of external web content within a page.
<embed>Embeds external content, such as multimedia files or plugins, directly into an HTML document.
<object>Embeds external resources, such as images, audio, video, or other multimedia content, into an HTML document.

Interactive Elements HTML Tags

TagDescriptionHTML Version
<details>Defines a disclosure widget that can be used to hide or show content, providing a way to present additional information in a collapsible format.
<summary>Defines a summary or caption for the content of a <details> element, providing a heading or title for the collapsible section.
<dialog>Defines a dialog box or modal window within an HTML document, typically used for displaying messages, alerts, or interactive forms.
<menu>Defines a menu or list of commands, typically used in conjunction with context menus, toolbars, or navigation bars.
<menuitem>Defines an item within a <menu> element, representing a command or option that users can select or activate.

Document Embedding HTML Tags

TagDescriptionHTML Version
<frame>Defines a subwindow (frame) within a frameset, allowing multiple HTML documents to be displayed simultaneously.4.0
<frameset>Defines a set of frames in a window, enabling the division of the browser window into multiple frames, each containing a separate HTML document.4.0
<noframes>Defines alternate content to be displayed for browsers that do not support frames or have frames disabled.4.0

Deprecated Elements HTML Tags

TagDescriptionHTML Version
<acronym>Defines an acronym, representing an abbreviation formed from the initial letters of a series of words, often pronounced as a word.4.0
<applet>Embeds a Java applet into an HTML document, allowing the execution of Java code within the browser.4.0
<basefont>Sets the base font size, color, and face for all text within a document, providing global styling options.4.0
<big>Increases the font size of text content within the tag, typically used for emphasizing or highlighting text.3.2
<center>Centers the content enclosed within the tag horizontally within its containing element or browser window.3.2
<font>Defines font-related attributes, such as size, color, and face, for text content within the tag.3.2
<strike>Renders text with a strikethrough effect, indicating that the text has been deleted or should be ignored.3.2
<tt>Renders text in a monospace or typewriter font, preserving spacing and alignment, often used for code or terminal output.3.2
<u>Renders text with an underline effect, typically used for indicating hyperlinks or emphasizing text.3.2

Miscellaneous Elements HTML Tags

TagDescriptionHTML Version
<bdo>Overrides the current text directionality, allowing developers to explicitly set the direction of text within the tag.5
<slot>Defines a placeholder for distributed content in a web component shadow tree, allowing dynamic insertion of content from the main document.5
<template>Defines a template for HTML content that can be cloned and inserted into the document using JavaScript.5
<wbr>Defines a word break opportunity within text content, indicating where a line break can occur if necessary.5

Share this page on:

Was this page helpful ?

Let us know how we did!

Subscribe Email Updates

to get latest update