HTML Document Structure

This page illustrates the fundamental structure of an HTML document and explains the purpose of key structural tags.

Basic Structure of an HTML Document

An HTML document typically follows this structure:

        <!DOCTYPE html>
        <html lang="en">
        <head>
            <meta charset="UTF-8">
            <title>Document Title</title>
            <meta name="description" content="Page description">
        </head>
        <body>
            <!-- Content goes here -->
        </body>
        </html>
    

Explanation of Key Tags

Additional Structural Tags

Understanding these structural tags is essential for creating well-organized and semantically meaningful HTML documents.

Homepage