List of HTML tags by category
The category of an HTML tag indicates where the tag can be used.
HTML Content - Category: none
SGML Declarations and HTML Elements Used Only In Specific Locations
HTML Content - Category: Metadata Content
HTML Metadata Elements
Elements restricted for use only where metadata content is allowed
These HTML elements can be used only where metadata content is allowed, such as in the content of a head element.
- <base/>
- <command/>
- <link rel="..."/>
- <meta http-equiv="..." .../>
- <meta name="..." .../>
- <noscript>... metadata content ...</noscript>
- <script>
- <style>
- <title>
HTML Content - Category: Flow Content
Flow content in HTML is made up of flow elements, phrasing content and text content, possibly interspersed with HTML comments and/or white space.
HTML Flow Elements
Elements restricted for use only where flow content is allowed
These HTML elements can be used only in HTML code where flow content is allowed, with some additional restrictions in specific cases. In addition, text and HTML elements categorized as phrasing content can also be used where flow content is expected.
- <a href="...">... flow content ...</a>
- <address>
- <article>
- <aside>
- <blockquote>
- <canvas>
- <del>... flow content ...</del>
- <details>
- <div>
- <dl>
- <fieldset>
- <figure>
- <footer>
- <form>
- <hn> heading tags
- <header>
- <hgroup>
- <hr/>
- <ins>... flow content ...</ins>
- <map>... flow content ...</map>
- <menu>
- <nav>
- <noscript>... flow content ...</noscript>
- <ol>
- <p>
- <pre>
- <section>
- <table>
- <ul>
HTML Content - Category: Phrasing Content
Can be used where either flow content or phrasing content is expected
Phrasing content in HTML is made up of text content, embedded content elements and phrasing elements, possibly interspersed with HTML comments and/or white space.
These HTML elements are allowed to be used in HTML code where either flow content is expected or phrasing content is expected, with some possible restrictions in specific cases.
HTML Embedded Content Elements
HTML Phrasing Elements
- <a href="...">... phrasing content ...</a>
- <abbr>
- <b>
- <bdi>
- <bdo>
- <br/>
- <button>
- <cite>
- <code>
- <command/>
- <datalist>
- <del>... phrasing content ...</del>
- <device/>
- <dfn>
- <em>
- <i>
- <input>
- <ins>... phrasing content ...</ins>
- <kbd>
- <keygen/>
- <label>
- <link itemprop="..." .../>
- <mark>
- <map>... phrasing content ...</map>
- <map><area/>...</map>
- <meta itemprop="..." .../>
- <meter>
- <noscript>... phrasing content ...</noscript>
- <output>
- <progress>
- <p>
- <ruby>
- <s>
- <samp>
- <script>
- <select>
- <small>
- <span>
- <strong>
- <sub>
- <sup>
- <textarea>
- <time>
- <u>
- <var>
- <wbr/>