HTML Basics: Document Structure

Lesson 1 of 50
🌐 HTML

HTML (HyperText Markup Language) is the foundation of web development. Every HTML document follows a specific structure with DOCTYPE declaration, html element, head section for metadata, and body section for visible content. The DOCTYPE tells the browser which version of HTML to use.

💡 Examples:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My First Webpage</title>
</head>
<body>
    <h1>Welcome to HTML!</h1>
    <p>This is my first paragraph.</p>
</body>
</html>

🎯 Your Challenge:

Create a complete HTML5 document with proper structure, title, and at least one heading and paragraph.

🏆 10 Points Reward

⚡ Practice Arena +5 bonus points

Build an HTML page with proper DOCTYPE, html, head, body, and include h1 and p elements.

💡 Complete the practice exercise to unlock lesson completion!