Basic HTML 30 Tags for Begginers

 List of 30 basic HTML tags along with brief explanations for each:


  1. <!DOCTYPE html>: Defines the document type and version of HTML being used.

  2. <html>: Represents the root element of an HTML document.

  3. <head>: Contains meta-information about the document, such as the title and links to external resources.

  4. <title>: Sets the title of the web page, displayed in the browser's title bar or tab.

  5. <meta>: Provides metadata about the HTML document, like character encoding and author information.

  6. <link>: Specifies external resources like stylesheets.

  7. <style>: Contains CSS (Cascading Style Sheets) for styling HTML elements.

  8. <script>: Defines client-side JavaScript or links to an external JavaScript file.

  9. <body>: Represents the main content of the HTML document that is visible to users.

  10. <h1> to <h6>: Headings with different levels, where <h1> is the highest and <h6> is the lowest.

  11. <p>: Represents a paragraph of text.

  12. <a>: Creates a hyperlink to another web page or resource.

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

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

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

  16. <img>: Embeds an image in the document.

  17. <br>: Creates a line break within text.

  18. <hr>: Creates a thematic break or horizontal rule.

  19. <em>: Marks text as emphasized (typically displayed in italics).

  20. <strong>: Indicates strong importance (typically displayed in bold).

  21. <u>: Underlines text.

  22. <h1> to <h6>: Headings of various levels.

  23. <blockquote>: Indicates a block of quoted content.

  24. <pre>: Represents preformatted text, preserving whitespace.

  25. <code>: Represents a fragment of computer code.

  26. <iframe>: Embeds another HTML page within the current page.

  27. <table>: Defines a table.

  28. <tr>: Represents a table row.

  29. <td>: Defines a table cell.

  30. <th>: Defines a header cell in a table.

These are some of the fundamental HTML tags that you'll encounter when creating web pages. Each tag serves a specific purpose in structuring and presenting content on the web. As you learn more, you'll discover additional tags and attributes that enhance the capabilities of HTML.