Introduction
HTML tags can be categorized in various ways, but one common method is to divide them based on their function and behavior. Here's a list of HTML tags categorized accordingly:
Structural Tags
- <!DOCTYPE>
- <html>
- <head>
- <body>
Metadata Tags
- <title>
- <base>
- <meta>
- <link>
- <style>
Text Formatting Tags
- <h1>to- <h6>
- <p>
- <b>
- <i>
- <strong>
- <em>
- <small>
- <mark>
- <del>
- <ins>
- <sub>
- <sup>
List Tags
- <ul>
- <ol>
- <li>
- <dl>
- <dt>
- <dd>
Link and Resource Tags
- <a>
- <nav>
- <img>
- <audio>
- <video>
- <source>
- <iframe>
Form Tags
- <form>
- <input>
- <textarea>
- <button>
- <select>
- <optgroup>
- <option>
- <label>
- <fieldset>
- <legend>
Table Tags
- <table>
- <thead>
- <tbody>
- <tfoot>
- <tr>
- <th>
- <td>
Scripting Tags
- <script>
- <noscript>
Style and Semantics
- <div>
- <span>
- <header>
- <footer>
- <main>
- <section>
- <article>
- <aside>
Special Tags
- <br>
- <hr>
Deprecated Tags
- <font>
- <center>
- <u>
This is not an exhaustive list, but it covers most of the commonly used HTML tags. Each category serves a specific purpose in structuring the content and layout of web pages.