Harshit Katiyar

techhtml

List of all HTML Tags

This is a comprehensive list of all HTML tags. Taken directly from MDN.

  • <!DOCTYPE>: Declares the document type and version of HTML. Placed at the very top of HTML files.
  • <a>: Defines a hyperlink, used to link to other pages or resources.
  • <abbr>: Represents an abbreviation or acronym, often with a tooltip explaining the term.
  • <acronym>: Deprecated. Previously used for acronyms; use <abbr> instead.
  • <address>: Specifies contact information for the author/owner of a document.
  • <applet>: Deprecated. Used to embed Java applets; use <object> instead.
  • <area>: Defines a clickable area inside an image map.
  • <article>: Represents a self-contained composition in a document, like a blog post.
  • <aside>: Marks content aside from the main content, such as sidebars.
  • <audio>: Embeds sound content in documents.
  • <b>: Makes text bold without conveying extra importance.
  • <base>: Specifies a base URL for relative links in the document.
  • <basefont>: Deprecated. Was used to set a default font size, color, and face.
  • <bdi>: Isolates a span of text that might be formatted in a different direction.
  • <bdo>: Overrides the current text direction.
  • <big>: Deprecated. Was used to make text larger.
  • <blockquote>: Indicates a section quoted from another source.
  • <body>: Contains the main content of an HTML document.
  • <br>: Inserts a line break.
  • <button>: Creates a clickable button.
  • <canvas>: Provides a space for drawing graphics via scripting (usually JavaScript).
  • <caption>: Specifies the caption for a table.
  • <center>: Deprecated. Was used to center-align text.
  • <cite>: References the title of a creative work.
  • <code>: Displays a fragment of computer code.
  • <col>: Specifies column properties for tables.
  • <colgroup>: Groups columns in a table for formatting.
  • <data>: Links a piece of content with a machine-readable value.
  • <datalist>: Contains a set of <option> elements for input suggestions.
  • <dd>: Defines a description/value in a description list.
  • <del>: Indicates deleted text.
  • <details>: Creates a disclosure widget for additional information.
  • <dfn>: Marks the defining instance of a term.
  • <dialog>: Represents a dialog box or window.
  • <dir>: Deprecated. Was used for directory lists.
  • <div>: Generic container for flow content, used for layout and styling.
  • <dl>: Defines a description list.
  • <dt>: Specifies a term/name in a description list.
  • <em>: Emphasizes text, typically rendered in italics.
  • <embed>: Embeds external content, such as multimedia.
  • <fieldset>: Groups related elements in a form.
  • <figcaption>: Provides a caption for a <figure>.
  • <figure>: Encapsulates media and its caption.
  • <font>: Deprecated. Was used to define font styles.
  • <footer>: Defines a footer for a section or page.
  • <form>: Creates an interactive form for user input.
  • <frame>: Deprecated. Was used in framesets.
  • <frameset>: Deprecated. Used to contain <frame> elements.
  • <h1>: Largest heading, used for main titles.
  • <h2>: Second largest heading.
  • <h3>: Third largest heading.
  • <h4>: Fourth largest heading.
  • <h5>: Fifth largest heading.
  • <h6>: Smallest heading.
  • <head>: Contains metadata and links for the document.
  • <header>: Represents introductory content or navigation links.
  • <hr>: Inserts a thematic break (horizontal rule).
  • <html>: Root element of an HTML document.
  • <i>: Italicizes text, often for alternate voice or mood.
  • <iframe>: Embeds another HTML page within the current page.
  • <img>: Embeds an image.
  • <input>: Accepts user input in a form.
  • <ins>: Indicates inserted text.
  • <kbd>: Represents user input via keyboard.
  • <label>: Defines a label for an <input> element.
  • <legend>: Provides a caption for a <fieldset>.
  • <li>: Represents a list item.
  • <link>: Specifies relationships between the document and external resources (like CSS).
  • <main>: Indicates the main content of the document.
  • <map>: Defines an image map.
  • <mark>: Highlights text.
  • <marquee>: Deprecated. Used for scrolling text.
  • <menu>: Represents a list/menu of commands.
  • <menuitem>: Deprecated. Was used for menu items.
  • <meta>: Provides metadata about the document.
  • <meter>: Displays a scalar measurement within a known range.
  • <nav>: Defines navigation links.
  • <noframes>: Deprecated. Provided content for browsers not supporting frames.
  • <noscript>: Provides alternate content for users with scripts disabled.
  • <object>: Embeds external resources, such as images, audio, or plugins.
  • <ol>: Creates an ordered (numbered) list.
  • <optgroup>: Groups options in a dropdown list.
  • <option>: Defines an option in a dropdown list.
  • <output>: Displays the result of a calculation.
  • <p>: Defines a paragraph.
  • <param>: Specifies parameters for plugins.
  • <picture>: Provides multiple sources for responsive images.
  • <pre>: Displays preformatted text.
  • <progress>: Shows the progress of a task.
  • <q>: Indicates an inline quotation.
  • <rb>: Used in ruby annotations (East Asian typography).
  • <rp>: Provides fallback parentheses for ruby annotations.
  • <rt>: Defines the pronunciation of characters in ruby annotations.
  • <rtc>: Groups <rt> elements in ruby annotations.
  • <ruby>: Represents ruby annotations for East Asian typography.
  • <s>: Renders text with a strikethrough.
  • <samp>: Displays sample output from a computer program.
  • <script>: Embeds or references executable scripts.
  • <section>: Defines a section in a document.
  • <select>: Creates a dropdown list.
  • <small>: Renders text in a smaller size.
  • <source>: Specifies multiple media resources for <audio>, <video>, or <picture>.
  • <span>: Generic inline container for styling.
  • <strike>: Deprecated. Was used for strikethrough text.
  • <strong>: Indicates strong importance, typically bold.
  • <style>: Embeds CSS styles.
  • <sub>: Displays subscript text.
  • <summary>: Provides a summary for a <details> element.
  • <sup>: Displays superscript text.
  • <svg>: Embeds SVG vector graphics.
  • <table>: Creates a table.
  • <tbody>: Groups the body content in a table.
  • <td>: Defines a cell in a table.
  • <template>: Holds client-side content that is not rendered when the page loads.
  • <textarea>: Creates a multi-line text input.
  • <tfoot>: Groups footer content in a table.
  • <th>: Defines a header cell in a table.
  • <thead>: Groups header content in a table.
  • <time>: Represents a specific time or date.
  • <title>: Sets the title of the document (shown in browser tab).
  • <tr>: Defines a row in a table.
  • <track>: Specifies text tracks for <video> and <audio>.
  • <tt>: Deprecated. Was used for teletype text.
  • <u>: Underlines text.
  • <ul>: Creates an unordered (bulleted) list.
  • <var>: Represents a variable in programming or math expressions.
  • <video>: Embeds video content.
  • <wbr>: Suggests a line break opportunity within text.
~ Harshit KatiyarWed Aug 06 2025