HTML tags are the fundamental building blocks of web pages, used to define structure, content, and formatting. They are enclosed in angle brackets (< >) and typically come in pairs: an opening tag (e.g., <p>) and a closing tag (e.g., </p>), though some tags are self-closing (e.g., <img />).

Core HTML Tags by Function

Content and Text Formatting Tags

  • <p>: Defines a paragraph of text.

  • <h1> to <h6>: Defines headings, with <h1> being the most important and <h6> the least.

  • <strong>: Represents strong importance (usually rendered in bold).

  • <em>: Indicates emphasis (typically rendered in italics).

  • <a>: Creates a hyperlink using the href attribute to specify the destination.

  • <img>: Embeds an image using src (source) and alt (alternative text) attributes.

  • <br>: Inserts a single line break.

  • <hr>: Represents a thematic break (e.g., a horizontal line).

  • <code>: Displays text as computer code.

  • <pre>: Shows preformatted text, preserving whitespace and line breaks.

Structural and Layout Tags

  • <div>: A block-level container for grouping content (often used with CSS for styling).

  • <span>: An inline container for styling specific parts of text.

  • <ul>: Defines an unordered (bulleted) list.

  • <ol>: Defines an ordered (numbered) list.

  • <li>: Represents a list item within <ul> or <ol>.

  • <table>: Creates a data table with <tr> (table row), <td> (table cell), and <th> (table header) elements.

  • <section>: Defines a section of a document (e.g., a chapter or thematic grouping).

  • <article>: Represents a self-contained composition (e.g., a blog post or news article).

  • <nav>: Defines navigation links.

  • <aside>: Contains content aside from the main content (e.g., sidebars).

  • <header>: Defines a header for a document or section.

  • <footer>: Defines a footer for a document or section.

Semantic and Interactive Tags

  • <mark>: Highlights text that is marked or highlighted for reference.

  • <del>: Indicates deleted text.

  • <ins>: Marks inserted text.

  • <details> and <summary>: Create a disclosure widget where content is hidden until opened.

  • <button>: Defines a clickable button.

  • <form>: Creates an interactive form for user input.

  • <input>: Defines a form control (e.g., text field, checkbox).

  • <label>: Associates a label with a form control.

  • <meta>: Provides metadata about the document (e.g., charset, description, viewport).

For a complete, up-to-date reference with examples, consult the MDN Web Docs HTML Elements Reference.

🌐
W3Schools
w3schools.com › TAGS › default.asp
HTML Reference
<!--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <data> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <h1> - <h6> <head> <header> <hgroup> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <menu> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <
🌐
Open Graph
ogp.me
The Open Graph protocol
If a tag can have multiple values, just put multiple versions of the same <meta> tag on your page.
🌐
GeeksforGeeks
geeksforgeeks.org › html › html-tags-a-to-z-list
HTML Tags - A to Z List - GeeksforGeeks
3 weeks ago - HTML tags are the building blocks of web pages, used to structure and format content.
🌐
Semrush
semrush.com › blog › the ultimate html tags list + free checklist
The Ultimate HTML Tags List + Free Checklist
May 28, 2025 - Get a comprehensive HTML tags list + free checklist categorized by function to boost your site‘s SEO
🌐
W3Schools
w3schools.com › html › html_formatting.asp
HTML Text Formatting
The HTML <i> element defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic. Tip: The <i> tag is often used to indicate a technical term, a phrase from another language, a thought, a ship name, etc.
🌐
DigitalOcean
digitalocean.com › community › tutorials › what-is-an-html-tag
What is an HTML Tag? | DigitalOcean
November 20, 2020 - An HTML tag is a piece of markup language used to indicate the beginning and end of an HTML element.
Find elsewhere
🌐
Career Karma
careerkarma.com › blog › html › the basic html tags
The Basic HTML Tags | Career Karma
July 20, 2022 - HTML is a markup language. After a person writes content, they’ll need to mark it up with HTML to do things like distinguish the title from the paragraphs. Most of this is done by inserting tags throughout the content.
🌐
Nigeriacodingacademy
nigeriacodingacademy.com › home › 10 essential html tags every beginner should know
10 Essential HTML Tags Every Beginner Should Know
August 15, 2024 - HTML Tags: Headings, Paragraphs, Links, Images, Lists, Tables, Forms, Divs and Spans, Semantic Tags, Meta Tags.
🌐
Uw
projects.accesscomputing.uw.edu › webd2 › student › unit2 › common_tags.html
Common HTML Tags
Common HTML tags are presented below, organized into four tables based on their purpose. The first table includes tags that control the overall structure of the web page. The second and third tables include tags that mark up the majority of web page content. Container tags (those that contain content) are presented in the second table, and non-container tags (those that stand alone) are presented in the third table.
🌐
HTML Standard
html.spec.whatwg.org
HTML Standard
HTML documents consist of a tree of elements and text. Each element is denoted in the source by a start tag, such as "<body>", and an end tag, such as "</body>".
🌐
PW Skills
pwskills.com › blog › web development › list of all html tags you’ll find as a web developer!
List Of All HTML Tags You’ll Find As A Web Developer!
October 30, 2025 - Key tags include <html> for the document structure, <head> for metadata, <title> for page titles, and <body> for content. Heading tags (<h1> to <h6>) establish hierarchy, while <p> signifies paragraphs.
🌐
Tutorialspoint
tutorialspoint.com › html › html_basic_tags.htm
HTML Basic Tags: A Guide for Complete Beginners with Examples
HTML tags are the fundamental elements of HTML used for defining the structure of the document. These are letters or words enclosed by angle brackets ( ). Usually, most of the HTML tags contain an opening and a closing tag.
🌐
Mikecodeur
blog.mikecodeur.com › en › post › the-essential-html-tags-every-beginner-should-know
The Essential HTML Tags Every Beginner Should Know
December 11, 2024 - An HTML tag is an element used to structure and organize the content of a web page.
🌐
W3C
w3.org › History › 19921103-hypertext › hypertext › WWW › MarkUp › Tags.html
Tags used in HTML
This is a list of tags used in the HTML language. Each tag starts with a tag opener (a less than sign) and ends with a tag closer (a greater than sign). Many tags have corresponding closing tags which identical except for a slash after the tag opener.
🌐
California State University, Northridge
csun.edu › science › help › help_docs › html_tags.html
HTML tags
HTML Tags Chart source: www.web-source.net · This will center your contents
🌐
React
legacy.reactjs.org › docs › introducing-jsx.html
Introducing JSX – React
Since JSX is closer to JavaScript than to HTML, React DOM uses camelCase property naming convention instead of HTML attribute names. For example, class becomes className in JSX, and tabindex becomes tabIndex. If a tag is empty, you may close it immediately with />, like XML:
🌐
W3Schools
w3schools.com › html › html_intro.asp
Introduction to HTML
February 9, 2026 - Note: Some HTML elements have no content (like the <br> element). These elements are called empty elements. Empty elements do not have an end tag!
🌐
Quora
quora.com › What-are-HTML-tags-and-how-do-you-classify-them
What are HTML tags and how do you classify them? - Quora
An HTML tag is a special word or letter surrounded by angle brackets, Classification o...
🌐
HTML.com
html.com
HTML For Beginners The Easy Way: Start Learning HTML & CSS Today »
This is how your average HTML page is structured visually. Inside the <head> tag, there is one tag that is always included: <title>, but there are others that are just as important: