Module 1 of 12

📖 What is HTML?

HTML stands for HyperText Markup Language. It is the standard language used to create and structure content on the World Wide Web.

Think of HTML as the skeleton of a website. Just like a skeleton gives structure to a body, HTML gives structure to web content. It tells the browser what each piece of content is — whether it's a heading, a paragraph, an image, or a link.

Key Terms Explained

💡 Remember: HTML is not a programming language like Python or JavaScript. It is a markup language — it describes structure, not logic or behavior.

🛠️ How Websites Work

When you visit a website, here's what happens behind the scenes:

  1. You type a web address (URL) into your browser, like https://ethioweb.net
  2. Your browser sends a request to a web server (a powerful computer that stores website files)
  3. The server sends back HTML, CSS, and JavaScript files
  4. Your browser reads the HTML and displays the structured content
  5. CSS makes it look beautiful, and JavaScript adds interactivity

The Web Technology Stack

TechnologyRoleAnalogy
HTMLStructure & ContentSkeleton / Frame of a house
CSSPresentation & StylePaint, decoration, furniture
JavaScriptBehavior & InteractivityElectricity, appliances, doors
💡 Focus: In this course, we focus entirely on HTML. You'll learn CSS and JavaScript in future courses!

💻 Setting Up Your Tools

To write HTML, you only need two things: a text editor and a web browser.

Recommended Text Editors

VS Code Extensions for HTML

Once you install VS Code, add these helpful extensions:

Using Browser Developer Tools

Every modern browser has built-in tools to inspect HTML:

  1. Open any website
  2. Right-click anywhere and select "Inspect" or press F12
  3. The Elements tab shows you the live HTML structure
  4. You can even edit HTML temporarily to see changes!
✏️ Exercise 1.1: Install Your Tools
  1. Download and install VS Code
  2. Install the "Live Server" extension in VS Code
  3. Open your browser and visit any website
  4. Press F12 to open Developer Tools
  5. Click the Elements tab and explore the HTML structure

🚀 Your First HTML File

Let's create your very first web page! Every HTML file ends with the .html extension.

Step-by-Step Instructions

  1. Open VS Code
  2. Create a new folder on your computer called html-course
  3. Open that folder in VS Code (File → Open Folder)
  4. Create a new file named index.html
  5. Type the following code exactly:
<!-- This is your first HTML file --> <html> <head> <title>My First Web Page</title> </head> <body> <h1>Hello, World!</h1> <p>I am learning HTML with Ethioweb.net.</p> </body> </html>

How to View Your Page

⚠️ Important: Always name your main homepage index.html. Web servers automatically look for this file when someone visits your website folder.

Understanding What You Wrote

CodeWhat It Means
<html>The root element that wraps all HTML content
<head>Contains hidden information about the page (title, metadata)
<title>The text that appears in the browser tab
<body>Contains all visible content on the page
<h1>A top-level heading (biggest and most important)
<p>A paragraph of text
✏️ Exercise 1.2: Personalize Your Page
  1. Change the <title> to include your name
  2. Change the <h1> to say "Hello, [Your Name]!"
  3. Add a second paragraph <p> that says what you hope to learn
  4. Save the file and refresh your browser to see changes

📝 Module 1 Quiz

Test Your Knowledge
1. What does HTML stand for?
2. Which tag contains the visible content of a web page?
3. What is the correct file extension for HTML files?
4. Which tool is recommended for writing HTML in this course?
5. What does the <title> tag control?

🎯 Module Summary

Next: Module 2 →