FSR310723 - List of Tags in HTML?

List down all the tags present in HTML?

1 Like

There are many more HTML tags available for various purposes.I mentioned some of them :

  1. <html>: Defines the root element of an HTML document.
  2. <head>: Contains meta-information about the document, like title, metadata, etc.
  3. <title>: Sets the title of the web page, displayed in the browser’s title bar or tab.
  4. <meta>: Provides metadata about the HTML document (charset, author, description, etc.).
  5. <link>: Specifies relationships between the current document and external resources (stylesheets, etc.).
  6. <style>: Contains CSS (Cascading Style Sheets) for styling the document.
  7. <script>: Defines client-side JavaScript code or links to an external JavaScript file.
  8. <body>: Contains the main content of the web page that is visible to users.
  9. <header>: Represents the introductory content at the top of a page or section.
  10. <nav>: Defines a navigation menu.
  11. <main>: Specifies the main content of a document.
  12. <article>: Represents a self-contained composition (blog post, news story, etc.).
  13. <section>: Defines a section of a document, such as a chapter or tabbed content.
  14. <aside>: Represents content that is tangentially related to the content around it.
  15. <footer>: Contains footer information, often at the bottom of a page.
  16. <h1> to <h6>: Headings of different levels (from highest to lowest importance).
  17. <p>: Defines a paragraph.
  18. <a>: Creates a hyperlink.
  19. <img>: Embeds an image.
  20. <ul>: Defines an unordered list.
  21. <ol>: Defines an ordered list.
  22. <li>: Represents a list item within <ul> or <ol>.
  23. <table>: Defines a table.
  24. <tr>: Defines a table row.
  25. <th>: Defines a table header cell.
  26. <td>: Defines a table data cell.
  27. <form>: Creates a form for user input.
  28. <input>: Defines an input field.
  29. <textarea>: Defines a multi-line text input field.
  30. <button>: Creates a clickable button.
  31. <select>: Creates a dropdown list.
  32. <label>: Defines a label for an <input> element.
  33. <div>: Defines a generic container.
  34. <span>: Defines inline styling or grouping of inline elements.
  35. <iframe>: Embeds an inline frame for displaying another HTML document.
  36. <video>: Embeds a video.
  37. <audio>: Embeds audio content.

Additionally, HTML specifications may evolve, so always refer to the latest documentation for the most up-to-date information.

Good answer ayushi. keep it up!!!