Introduction to the Basic Structure of HTML

Posted Date: 2025-04-15

What is HTML?

HTML (HyperText Markup Language) is the standard markup language for creating web pages. It describes the structure of a web page semantically and originally included cues for the appearance of the document.

Fundamental Elements

An HTML page is composed of a series of elements, which are used to structure the content. HTML elements are delimited by tags, which often come in pairs (an opening tag and a closing tag).


          <!DOCTYPE html>
          <html lang="en">
          <head>
            <meta charset="UTF-8">
            <title>My first page</title>
          </head>
          <body>
            <h1>Hello, world!</h1>
            <p>This is my first paragraph.</p>
          </body>
          </html>
        

This is a basic example of the structure of an HTML document.