Basic HTML Structure Example

<!DOCTYPE html>
<!-- This is the basic structure of an HTML document -->
<html lang="en">

<head>
    <meta charset="UTF-8"> <!-- Character encoding -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My First HTML Page</title> <!-- Page title shown in browser tab -->
</head>

<body>
    <!-- Page content starts here -->
    <h1>Welcome to My Website</h1>
    <p>This is a paragraph of text.</p>
</body>

</html>