HTML stands for Hypertext Markup Language, and it is the standard markup language used to create web pages and web applications. It provides a way to structure content on the web using a series of markup tags, which describe the content and its relationships to other elements on the page.

HTML is a simple language that is easy to learn, but it provides a powerful set of tools for creating complex web pages. It allows developers to structure content into headings, paragraphs, lists, tables, and other elements, and to add multimedia elements such as images, audio, and video.

Basic HTML Document :


  <!DOCTYPE html>



  <title>My First Web Page</title>

  </head> <body>

  <h1>Welcome to my website</h1>

  <p>This is my first web page using HTML.</p>




Output :

My First Web Page

Welcome to my website

This is my first web page using HTML.

The <!DOCTYPE> declaration specifies the version of HTML used in the document.
  • The <html> tag is the root element of the HTML document and contains all the other elements.
  • The <head> tag contains metadata such as the title of the document, which is displayed in the browser’s tab or title bar.
  • The <body> tag contains the content of the web page, including headings, paragraphs, links, and images.
  • The <h1> tag creates a level 1 heading.
  • The <p> tag creates a paragraph.
  • The <a> tag creates a hyperlink, with the href attribute specifying the link destination.

This is a basic example of an HTML document, you can add more tags and elements to make your web pages more complex and interactive.

There are some HTML tags :

There are many HTML tags available, but some of the most commonly used ones include:

  1. <html> – The root element of an HTML document
  2. <head> – Contains metadata about the document, such as the title and meta tags
  3. <body> – Contains the content of the web page
  4. <h1> to <h6> – Headings of different levels
  5. <p> – Paragraph
  6. <a> – Hyperlink
  7. <img> – Image
  8. <ul> – Unordered list
  9. <ol> – Ordered list
  10. <li> – List item
  11. <div> – Division or section of the document
  12. <span> – Smaller section of text within a block of text
  13. <form> – Form for user input
  14. <input> – Input field for forms
  15. <label> – Label for input fields
  16. <select> – Drop-down menu
  17. <option> – Option in a drop-down menu
  18. <textarea> – Multi-line input field
  19. <button> – Clickable button
  20. <table> – Table
  21. <tr> – Table row
  22. <th> – Table header cell

<td> – Table data cell 

These are just a few examples of HTML tags, and there are many more tags available for different purposes. As you become more familiar with HTML, you can explore the full range of tags and learn how to use them to create more complex web pages. Click here to learn more .