HTML Lesson Plan: A Beginner’s Guide to Building a Web Page

html lesson plan

HTML Lesson Plan: Build a Simple Web Page

HTML, or HyperText Markup Language, is the standard markup language used to structure content on web pages. This beginner-friendly lesson plan introduces students to basic HTML tags and gives them an opportunity to create a simple page of their own.

Lesson Overview

  • Audience: Beginner students
  • Time: 60 minutes
  • Format: Short presentation, guided practice, and individual project
  • Prior knowledge: Students should be comfortable using a computer and saving files

Learning Objectives

By the end of the lesson, students will be able to:

  • Explain what HTML does on a web page.
  • Recognize the basic structure of an HTML document.
  • Use headings, paragraphs, links, and images to organize page content.
  • Save an HTML file and open it in a web browser.

Materials

  • A computer for each student or pair
  • A text editor, such as Notepad, TextEdit, or a browser-based coding editor
  • A web browser
  • A sample image saved on each computer or available online
  • Projector or screen for demonstrations, if available

Lesson Procedure

Introduction and Warm-Up — 5 minutes

Ask students to name a website they use and describe what they see on its pages. Explain that HTML provides structure for web content, such as headings, paragraphs, links, and images. It is different from CSS, which controls presentation, and JavaScript, which can add interactive behavior.

Introduce HTML Structure — 10 minutes

Show students a basic HTML document and explain the purpose of each part:

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>My First Web Page</title>

</head>

<body>

<h1>Welcome to My Page</h1>

<p>This is my first paragraph.</p>

</body>

</html>

Point out that most HTML elements use an opening tag and a closing tag. The page content that appears in the browser usually goes inside the <body> element, while information about the document goes inside <head>.

Guided Practice — 15 minutes

Have students create a file named index.html and enter the basic document structure. Then guide them through adding:

  • A main heading using <h1>
  • A subheading using <h2>
  • Two paragraphs using <p>
  • A link using <a>
  • An image using <img>

For example, students can add a link with <a href="https://example.com">Visit this site</a>. Explain that the href attribute tells the browser where the link should go. For an image, discuss the purpose of the src and alt attributes.

Individual Project — 20 minutes

Ask each student to create a one-page introduction about a hobby, favorite place, book, animal, or topic of interest. The page should include:

  • A descriptive page title
  • One main heading and at least one subheading
  • Two or more paragraphs
  • One working link
  • One image with descriptive alternative text

Encourage students to preview their work in a browser, make a change in the text editor, save the file, and refresh the page to see the update.

Review and Reflection — 10 minutes

Invite a few students to share their pages. Review the difference between an HTML tag and an attribute, and ask students to identify one element they used. Close with a quick reflection: What was easy to add? What would they like to learn next?

Assessment

Assess student learning by checking whether each page:

  • Contains a valid basic HTML structure
  • Uses headings and paragraphs appropriately
  • Includes a working link
  • Displays an image with useful alternative text
  • Can be opened and viewed in a browser

Differentiation and Extension

For students who need extra support, provide a starter file with the document structure already written, or pair students for the guided practice. Students who finish early can add an unordered list with <ul> and <li>, create a second page, or explore semantic elements such as <header>, <main>, and <footer>.

Closing Thought

A first HTML page does not need to be complicated. By learning a few essential elements and practicing how they fit together, students gain the foundation to explore web design and development further.

 

HTML Lesson Plan FAQs: Beginner Coding, Learning in 3 Days, and Teaching Tips for 2026

  1. How to write “I love you” in HTML code?
  2. Is HTML still used in 2026?
  3. Can I learn HTML in 3 days?
  4. How to teach HTML for beginners?

How to write “I love you” in HTML code?

To write “I love you” in HTML, place the words inside a paragraph element: <p>I love you</p>. The browser will display the sentence as a paragraph on the page. HTML tags provide structure, while the text between the opening and closing tags is the content visitors see.

Is HTML still used in 2026?

Yes, HTML is still widely used in 2026 and remains the foundation of nearly every website. Modern HTML provides the structure for text, images, links, forms, video, and other content, while CSS controls visual design and JavaScript adds interactive features. Even as web technologies evolve, learning HTML is still an essential first step for anyone interested in creating or understanding web pages.

Can I learn HTML in 3 days?

Yes, you can learn the basics of HTML in three days, especially if you practice building simple web pages with headings, paragraphs, links, images, and lists. However, becoming confident with HTML takes more time and hands-on practice, particularly when working with forms, semantic elements, accessibility, and larger projects. A focused three-day lesson plan can give you a strong starting point and help you continue learning independently.

How to teach HTML for beginners?

To teach HTML to beginners, start by explaining that HTML structures the content on a web page, then introduce a few common elements, such as headings, paragraphs, links, and images. Demonstrate how opening and closing tags work, and guide learners through creating a simple page in a text editor and viewing it in a browser. Keep the first project hands-on and manageable, such as a page about a favorite hobby, and encourage students to experiment, save their work, and refresh the browser to see their changes.