Lesson 1: Introduction to HTML

What is HTML?

HTML stands for HyperText Markup Language. It is the standard language used to create web pages. HTML describes the structure of a web page using a series of elements.

Key Points:

Basic HTML Structure

Every HTML document follows a basic structure:

<!DOCTYPE html>
<html>
<head>
    <title>Page Title</title>
</head>
<body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
</body>
</html>

Understanding the Structure

💡 Tip: Always save your HTML files with a .html extension, for example: index.html, about.html

Try It Yourself!

Open a text editor (like Notepad on Windows or TextEdit on Mac) and create your first HTML page using the structure shown above. Save it as "mypage.html" and open it in a web browser!