โ† Introduction to HTML Level One ยท Lesson 5 of 11

Module Four

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
1

Course Outline

Introduction to HTML Level 1 Course Outline

Certified Introduction to HTML Level 1

This beginner-friendly course introduces learners to the fundamentals of HTML (HyperText Markup Language), the standard language used to create web pages. Students will learn how websites are structured and how to build simple web pages from scratch.

Course Objectives

  • Understand the purpose of HTML in web development.
  • Learn basic HTML syntax and structure.
  • Create and format web page content.
  • Add links, images, and lists to web pages.
  • Build simple multi-page websites.
  • Apply HTML best practices.

Module 1: Introduction to Web Development and HTML

  • What is a Website?
  • Understanding Frontend and Backend Development
  • Introduction to HTML
  • History and Evolution of HTML
  • Tools Required for HTML Development
  • Installing and Using a Code Editor

Module 2: HTML Document Structure

  • Understanding HTML Tags and Elements
  • Creating Your First HTML Page
  • DOCTYPE Declaration
  • HTML, Head, and Body Tags
  • Adding Titles to Web Pages
  • Saving and Viewing HTML Files

Module 3: Working with Text Content

  • Headings (H1 to H6)
  • Paragraphs
  • Line Breaks and Horizontal Rules
  • Text Formatting Tags
  • Bold, Italics, and Underline
  • Comments in HTML

Module 4: Lists and Hyperlinks

  • Ordered Lists
  • Unordered Lists
  • Nested Lists
  • Creating Hyperlinks
  • Internal and External Links
  • Email and Telephone Links

Module 5: Images and Multimedia

  • Adding Images to Web Pages
  • Image Attributes
  • Image Paths
  • Image Optimization Basics
  • Introduction to Audio and Video Elements

Module 6: Tables in HTML

  • Creating Tables
  • Rows and Columns
  • Table Headers
  • Cell Spacing and Padding
  • Merging Rows and Columns
  • Best Practices for Table Design

Module 7: HTML Forms Fundamentals

  • Introduction to Forms
  • Text Input Fields
  • Radio Buttons
  • Checkboxes
  • Dropdown Lists
  • Submit and Reset Buttons

Module 8: Semantic HTML

  • Understanding Semantic Elements
  • Header and Footer
  • Navigation Menus
  • Sections and Articles
  • Main Content Area
  • Benefits of Semantic HTML

Module 9: HTML Project Development

  • Planning a Simple Website
  • Creating Multiple Pages
  • Linking Pages Together
  • Adding Images and Content
  • Testing and Troubleshooting

Module 10: Best Practices and Course Review

  • Writing Clean HTML Code
  • Code Organization
  • Common HTML Mistakes
  • HTML Validation
  • Course Review
  • Final Practical Project

Assessment

  • Module Quizzes
  • Practical Exercises
  • Hands-on Assignments
  • Final Website Project

Certification

Upon successful completion of the course and assessments, participants will receive a Certified Introduction to HTML Level 1 certificate.

2

Module One

Module 1 - Introduction to Web Development and HTML

Module 1: Introduction to Web Development and HTML

Lesson 1: What is a Website?

Imagine a website as a digital book that lives on the internet. Just like a book has pages, a website has web pages. You can visit websites using a web browser such as Chrome, Edge, Firefox, or Safari.

Examples of Websites

  • YouTube - for watching videos
  • Google - for searching information
  • Wikipedia - for learning new things
  • School websites - for learning online

Fun Example

Think of the internet as a giant city. Every website is a house in that city. The website address is the house address that helps people find it.


Lesson 2: What is Web Development?

Web development means creating websites. The people who build websites are called web developers.

A web developer is like a builder who builds houses, but instead of houses, they build websites.

Types of Web Development

Frontend Development

This is the part users can see and click on. It includes text, pictures, buttons, and menus.

Backend Development

This is the hidden part that makes everything work. Users cannot see it directly.

Fun Example

Think of a bicycle. The colorful parts you see are the frontend. The gears and chains that help it move are the backend.


Lesson 3: What is HTML?

HTML stands for HyperText Markup Language. It is the language used to create web pages.

HTML tells the browser:

  • What should be a heading
  • What should be a paragraph
  • Where pictures should appear
  • Where links should go

Fun Example

Imagine building a house with LEGO blocks. HTML is like the LEGO pieces that create the structure of the house.


Lesson 4: Tools Needed for HTML

You only need two things:

  1. A computer
  2. A code editor

Popular Code Editors

  • Visual Studio Code (VS Code)
  • Notepad
  • Notepad++

A code editor is like a notebook where programmers write code.


Lesson 5: Your First HTML File

Let's create our first web page.

<html>
<body>

Hello World!

</body>
</html>

Save the file as mypage.html and open it in a browser.

You will see:

Hello World!


Class Exercise

Exercise 1

Answer the following questions:

  1. What is a website?
  2. Name three websites you know.
  3. What does HTML stand for?
  4. Who builds websites?
  5. Name one code editor.

Exercise 2

Create a file called aboutme.html and type the following:

<html>
<body>

My name is ________.

I am ______ years old.

I love __________.

</body>
</html>

Save the file and open it in your browser.

Exercise 3

Draw a picture showing:

  • A website as a house
  • The internet as a city
  • HTML as LEGO blocks

Module Summary

  • A website is a collection of web pages.
  • Web developers build websites.
  • HTML is used to create web pages.
  • HTML is the foundation of every website.
  • You can write HTML using a code editor.
  • You created your first HTML page.
3

Module Two

Module 2 - HTML Document Structure

Module 2: HTML Document Structure

Lesson 1: What is an HTML Document?

An HTML document is a file that tells a web browser what to show on a webpage. Think of it as a recipe for baking a cake. The recipe tells you what ingredients to use and what steps to follow. In the same way, an HTML document tells the browser what to display.

Fun Example

Imagine building a toy house. Every toy house needs a foundation, walls, a roof, and rooms. An HTML document also has parts that work together to build a webpage.


Lesson 2: Understanding HTML Tags

HTML uses special words called tags. Tags tell the browser what each piece of content is.

Most tags come in pairs:

<tag>
Content goes here
</tag>

Example

<p>I love football.</p>

The <p> tag means paragraph.

Fun Example

Think of tags as sandwich bread. One slice starts the sandwich and another slice ends it. The filling is the content in the middle.


Lesson 3: The Basic Structure of an HTML Page

Every HTML page follows a structure.

<!DOCTYPE html>
<html>

<head>
    <title>My First Webpage</title>
</head>

<body>
    Welcome to my webpage!
</body>

</html>

What Each Part Does

  • <!DOCTYPE html> - Tells the browser this is an HTML5 page.
  • <html> - Holds the whole webpage.
  • <head> - Stores information about the page.
  • <title> - Gives the webpage a name.
  • <body> - Contains everything people see.

Lesson 4: Understanding the Head Section

The head section is like the cover page of a school notebook. It contains information about the webpage.

<head>
    <title>My School Website</title>
</head>

The title appears on the browser tab.

Example

If your title is "My School Website", that name will appear at the top of the browser tab.


Lesson 5: Understanding the Body Section

The body section contains everything visitors can see.

<body>
    Hello Everyone!
</body>

Whatever is inside the body appears on the webpage.

Fun Example

If a website is a house, the body is all the furniture, pictures, and decorations inside it.


Lesson 6: Creating Your First Proper HTML Page

<!DOCTYPE html>
<html>

<head>
    <title>About Me</title>
</head>

<body>

    My name is Tunde.

    I am 10 years old.

    I love playing football.

</body>

</html>

Save this file as aboutme.html and open it in your browser.


Class Exercise 1

Match the HTML part with its meaning:

HTML Part Meaning
<html> _____________
<head> _____________
<body> _____________
<title> _____________

Class Exercise 2

Create a webpage called myfamily.html.

Add:

  • A title called "My Family"
  • Your name
  • Your favourite food
  • Your favourite game

Class Exercise 3

Fill in the missing tags:

<!DOCTYPE html>

<_____>

<head>
    <title>My Page</title>
</head>

<_____>
    Hello World!
</_____>

</html>

Mini Project

Create a webpage called myschool.html.

Include:

  • The name of your school
  • Your class
  • Your favourite subject
  • A title for the webpage

Module Summary

  • An HTML document is used to create webpages.
  • HTML uses tags to organize content.
  • Every webpage has an HTML structure.
  • The head contains information about the page.
  • The title names the webpage.
  • The body contains everything users can see.
  • You can create and save your own HTML pages.
4

Module Three

Module 3 - Working with Text Content

Module 3: Working with Text Content

Module Introduction

In the last module, we learned how an HTML page is organized. In this module, we will learn how to add words and sentences to our webpage. We will learn about headings, paragraphs, line breaks, and text formatting.


Lesson 1: Headings in HTML

Headings are titles used to organize information on a webpage. Just like a book has chapter titles, a webpage uses headings.

HTML has six heading levels:

<h1>Biggest Heading</h1>
<h2>Second Biggest Heading</h2>
<h3>Third Biggest Heading</h3>
<h4>Fourth Heading</h4>
<h5>Fifth Heading</h5>
<h6>Smallest Heading</h6>

Fun Example

Think of headings as signboards in a shopping mall. They help people know where to go and what they are reading.


Lesson 2: Paragraphs

A paragraph is a group of sentences. In HTML, we use the <p> tag for paragraphs.

<p>My name is Tolu.</p>

<p>I love playing football.</p>

Fun Example

Imagine telling a story. Each new idea goes into a new paragraph.


Lesson 3: Line Breaks

Sometimes we want text to move to a new line. We use the <br> tag.

My name is Tolu.<br>
I am 10 years old.<br>
I love football.

The browser will show each sentence on a new line.

Fun Example

Think of pressing the Enter key on your keyboard. The <br> tag does the same thing.


Lesson 4: Horizontal Lines

A horizontal line separates sections of a webpage. We use the <hr> tag.

<h1>My Hobbies</h1>

<hr>

<p>I enjoy football and reading books.</p>

The browser will draw a line across the page.


Lesson 5: Making Text Bold

Bold text is darker and stronger. We use the <strong> tag.

<p>My favourite subject is
<strong>Mathematics</strong>.</p>

Example Result

My favourite subject is Mathematics.


Lesson 6: Making Text Italic

Italic text leans to one side. We use the <em> tag.

<p>I love <em>football</em>.</p>

Example Result

I love football.


Lesson 7: Adding Comments

Comments are notes written for programmers. Visitors cannot see comments on the webpage.

<!-- This is my webpage -->

Fun Example

Think of comments as secret notes written in your notebook. Only the person reading the notebook can see them.


Complete Example

<!DOCTYPE html>
<html>

<head>
    <title>About Me</title>
</head>

<body>

<h1>About Me</h1>

<p>My name is Tolu.</p>

<p>I am 10 years old.</p>

<p>I love <strong>football</strong> and
<em>video games</em>.</p>

<hr>

<p>Thank you for visiting my page.</p>

</body>

</html>

Class Exercise 1

Write the correct HTML tag:

  1. Biggest heading = __________
  2. Paragraph = __________
  3. Line break = __________
  4. Horizontal line = __________
  5. Bold text = __________

Class Exercise 2

Create a webpage called myhobbies.html.

Include:

  • A heading called "My Hobbies"
  • A paragraph about your favourite hobby
  • A second paragraph about your favourite game
  • A horizontal line between the two paragraphs

Class Exercise 3

Fix the missing tags below:

______ My School ______

______ I love learning science. ______

______ 

______ My favourite subject is Mathematics. ______

Use:

  • <h1>
  • <p>
  • <hr>

Mini Project

Create a webpage called aboutme.html.

Add:

  • Your name as a heading
  • A paragraph about yourself
  • Your favourite food in bold
  • Your favourite sport in italics
  • A horizontal line
  • A thank-you message at the bottom

Module Summary

  • Headings are used for titles.
  • Paragraphs are used for sentences and stories.
  • Line breaks move text to a new line.
  • Horizontal lines separate sections.
  • Strong tags make text bold.
  • Em tags make text italic.
  • Comments are hidden notes for programmers.
5

Module Four

Module 4 - Lists and Hyperlinks

Module 4: Lists and Hyperlinks

Module Introduction

In the previous module, we learned how to add text, headings, and paragraphs to a webpage.

In this module, we will learn how to create lists and links. Lists help us organize information, while links help us move from one webpage to another.


Lesson 1: What is a List?

A list is a collection of items written one after another.

For example, when your teacher writes school supplies on the board, that is a list.

Example List

  • Pencil
  • Eraser
  • Notebook
  • Ruler

Fun Example

Imagine making a shopping list with your parents. Lists help us keep things organized.


Lesson 2: Unordered Lists

An unordered list uses bullet points. We create it using the <ul> tag.

<ul>
    <li>Football</li>
    <li>Basketball</li>
    <li>Swimming</li>
</ul>

Output

  • Football
  • Basketball
  • Swimming

Lesson 3: Ordered Lists

An ordered list uses numbers. We create it using the <ol> tag.

<ol>
    <li>Wake Up</li>
    <li>Brush Teeth</li>
    <li>Go To School</li>
</ol>

Output

  1. Wake Up
  2. Brush Teeth
  3. Go To School

Fun Example

Think of an ordered list as instructions for building a toy. The steps must be followed in the correct order.


Lesson 4: Nested Lists

A nested list is a list inside another list.

<ul>
    <li>Fruit
        <ul>
            <li>Apple</li>
            <li>Orange</li>
        </ul>
    </li>
</ul>

Output

  • Fruit
    • Apple
    • Orange

Nested lists help us group similar items together.


Lesson 5: What is a Hyperlink?

A hyperlink is a clickable piece of text that takes you to another webpage.

We create hyperlinks using the <a> tag.

<a href="https://www.google.com">
Visit Google
</a>

Fun Example

Think of a hyperlink as a magical door. When you click it, it takes you somewhere else.


Lesson 6: External Links

External links take visitors to another website.

<a href="https://www.wikipedia.org">
Visit Wikipedia
</a>

Clicking the link opens the Wikipedia website.


Lesson 7: Internal Links

Internal links connect pages within your own website.

<a href="about.html">
About Me
</a>

This link opens another page inside your website.

Fun Example

Imagine a school with many classrooms. Internal links are hallways that connect one classroom to another.


Lesson 8: Email Links

HTML can create links that open an email program.

<a href="mailto:teacher@example.com">
Send Email
</a>

Clicking the link opens an email window.


Complete Example

<!DOCTYPE html>
<html>

<head>
    <title>My Favourite Things</title>
</head>

<body>

<h1>My Favourite Things</h1>

<h2>Favourite Foods</h2>

<ul>
    <li>Rice</li>
    <li>Pizza</li>
    <li>Chicken</li>
</ul>

<h2>My Daily Routine</h2>

<ol>
    <li>Wake Up</li>
    <li>Go To School</li>
    <li>Do Homework</li>
</ol>

<a href="https://www.google.com">
Visit Google
</a>

</body>

</html>

Class Exercise 1

Fill in the blanks:

  1. _____ creates a bulleted list.
  2. _____ creates a numbered list.
  3. _____ creates a list item.
  4. _____ creates a hyperlink.

Class Exercise 2

Create a webpage called myfoods.html.

Add:

  • A heading called "My Favourite Foods"
  • A bulleted list of five foods
  • A numbered list showing how to make tea

Class Exercise 3

Fix the missing tags below:

_____ 
    _____ Football _____
    _____ Basketball _____
    _____ Tennis _____
_____

Use:

  • <ul>
  • <li>

Mini Project

Create a webpage called myschool.html.

Include:

  • A heading with your school name
  • A list of your favourite subjects
  • A numbered list of your school-day activities
  • A hyperlink to your favourite educational website

Module Summary

  • Lists help organize information.
  • Unordered lists use bullet points.
  • Ordered lists use numbers.
  • List items are created with the <li> tag.
  • Nested lists are lists inside other lists.
  • Hyperlinks connect webpages together.
  • The <a> tag creates links.
  • Links can point to websites, pages, or email addresses.
6

Module Five

Module 5 - Images and Multimedia

Module 5: Images and Multimedia

Module Introduction

So far, we have learned how to add text, headings, lists, and links to a webpage.

In this module, we will learn how to add pictures, music, and videos to make our webpages more fun and exciting.


Lesson 1: What is an Image?

An image is a picture displayed on a webpage. Pictures help visitors understand information more easily.

For example, instead of describing a dog, you can simply show a picture of a dog.

Fun Example

Think of a webpage as a storybook. Images are the colorful illustrations that make the story interesting.


Lesson 2: Adding Images to a Webpage

HTML uses the <img> tag to display images.

<img src="dog.jpg" alt="A cute dog">

What Do These Mean?

  • img = image tag
  • src = where the image is stored
  • alt = description of the image

Lesson 3: Understanding Image Paths

The browser needs to know where the picture is saved. The location of the image is called the image path.

<img src="football.jpg" alt="Football">

This means the image named football.jpg is saved in the same folder as the HTML file.

Fun Example

Imagine sending a friend to your classroom. You must tell them exactly where it is. The image path tells the browser where to find the picture.


Lesson 4: Changing Image Size

We can make images bigger or smaller using width and height.

<img src="dog.jpg"
     alt="Dog"
     width="200"
     height="150">

Width controls how wide the image is. Height controls how tall the image is.


Lesson 5: Why the ALT Attribute is Important

The alt attribute describes the image.

<img src="cat.jpg"
     alt="A white cat sleeping">

If the image cannot be displayed, the browser shows the description.

It also helps people who use screen readers understand the picture.


Lesson 6: Adding Audio

Audio allows visitors to listen to sounds or music.

<audio controls>
    <source src="song.mp3">
</audio>

The controls attribute creates play and pause buttons.

Fun Example

Imagine adding your favorite song to your webpage. Visitors can listen to it while reading.


Lesson 7: Adding Videos

Videos can also be displayed on a webpage.

<video width="300" controls>
    <source src="video.mp4">
</video>

Visitors can play, pause, and watch the video.

Fun Example

Imagine creating a webpage about football and adding a video showing your favorite football match.


Lesson 8: Complete Example

<!DOCTYPE html>
<html>

<head>
    <title>My Favorite Animal</title>
</head>

<body>

<h1>My Favorite Animal</h1>

<p>I love dogs.</p>

<img src="dog.jpg"
     alt="A happy dog"
     width="250">

</body>

</html>

Class Exercise 1

Fill in the blanks:

  1. _____ is used to display images.
  2. _____ tells the browser where the image is saved.
  3. _____ describes an image.
  4. _____ controls image width.
  5. _____ is used to display audio.

Class Exercise 2

Create a webpage called mypet.html.

Include:

  • A heading called "My Pet"
  • A paragraph about your pet
  • A picture of your pet
  • An alt description for the image

Class Exercise 3

Fix the missing parts below:

<img _____="cat.jpg"
     _____="A cute cat"
     width="200">

What attributes are missing?


Mini Project

Create a webpage called myfavoriteanimal.html.

Add:

  • A heading
  • A paragraph about the animal
  • An image of the animal
  • A short audio file (optional)
  • A short video file (optional)

Challenge Exercise

Create a webpage about your favorite football team, cartoon character, or superhero.

Include:

  • One heading
  • Two paragraphs
  • One image
  • One hyperlink
  • A horizontal line

Module Summary

  • Images make webpages colorful and interesting.
  • The <img> tag displays images.
  • The src attribute tells the browser where to find an image.
  • The alt attribute describes an image.
  • Width and height control image size.
  • The <audio> tag adds sound.
  • The <video> tag adds videos.
  • Multimedia makes webpages more fun and interactive.
7

Module Six

Module 6 - Tables in HTML

Module 6: Tables in HTML

Module Introduction

In the previous module, we learned how to add pictures, audio, and videos to our webpages.

In this module, we will learn how to organize information using tables. Tables help us arrange information into rows and columns, just like a school timetable or a football score sheet.


Lesson 1: What is a Table?

A table is a way of organizing information into rows and columns.

You see tables every day in school timetables, examination results, attendance registers, and football league tables.

Fun Example

Imagine a chocolate bar divided into small squares. Each square is like a cell in a table.


Lesson 2: Creating a Table

We use the <table> tag to create a table.

<table>

</table>

Everything inside the table tag becomes part of the table.


Lesson 3: Creating Rows

Rows go from left to right. We use the <tr> tag to create rows.

<table>
    <tr>
    </tr>
</table>

Fun Example

Think of rows as seats in a classroom. Students sit side by side in the same row.


Lesson 4: Creating Columns and Cells

Cells hold the information inside a table. We use the <td> tag for table data.

<table border="1">
    <tr>
        <td>Tolu</td>
        <td>10</td>
    </tr>
</table>

Output

Tolu 10

Lesson 5: Table Headings

Table headings tell us what information is in each column. We use the <th> tag.

<table border="1">
    <tr>
        <th>Name</th>
        <th>Age</th>
    </tr>

    <tr>
        <td>Tolu</td>
        <td>10</td>
    </tr>
</table>

Output

Name Age
Tolu 10

Lesson 6: Building a School Timetable

Let's create a simple school timetable.

<table border="1">

<tr>
    <th>Time</th>
    <th>Subject</th>
</tr>

<tr>
    <td>8:00 AM</td>
    <td>Mathematics</td>
</tr>

<tr>
    <td>9:00 AM</td>
    <td>English</td>
</tr>

</table>

Fun Example

Tables are like shelves in a library. Each shelf stores information in an organized way.


Lesson 7: Merging Columns

Sometimes we want one cell to take up more than one column. We use the colspan attribute.

<table border="1">

<tr>
    <th colspan="2">
        My Report Card
    </th>
</tr>

</table>

The heading stretches across two columns.


Lesson 8: Merging Rows

Sometimes we want one cell to cover more than one row. We use the rowspan attribute.

<td rowspan="2">
    Football
</td>

This cell will cover two rows.


Complete Example

<!DOCTYPE html>
<html>

<head>
    <title>My Class List</title>
</head>

<body>

<h1>My Class List</h1>

<table border="1">

<tr>
    <th>Name</th>
    <th>Favourite Subject</th>
</tr>

<tr>
    <td>Tolu</td>
    <td>Science</td>
</tr>

<tr>
    <td>Amina</td>
    <td>Mathematics</td>
</tr>

</table>

</body>

</html>

Class Exercise 1

Fill in the blanks:

  1. _____ creates a table.
  2. _____ creates a row.
  3. _____ creates a table heading.
  4. _____ creates a table cell.
  5. _____ merges columns.

Class Exercise 2

Create a table showing:

  • Your Name
  • Your Age
  • Your Favourite Food

Use table headings.


Class Exercise 3

Fix the missing tags below:

<table border="1">

    _____
        _____ Name _____
        _____ Age _____
    _____

    _____
        _____ Tolu _____
        _____ 10 _____
    _____

</table>

Use:

  • <tr>
  • <th>
  • <td>

Mini Project

Create a webpage called myschooltimetable.html.

Add:

  • A heading called "My School Timetable"
  • A table with at least 5 rows
  • Time and Subject columns
  • A border around the table

Challenge Exercise

Create a football score table with:

  • Team Name
  • Matches Played
  • Goals Scored

Add at least three teams.


Module Summary

  • Tables organize information into rows and columns.
  • The <table> tag creates a table.
  • The <tr> tag creates rows.
  • The <td> tag creates cells.
  • The <th> tag creates table headings.
  • Colspan merges columns.
  • Rowspan merges rows.
  • Tables are useful for timetables, reports, and score sheets.
8

Module Seven

Module 7 - HTML Forms Fundamentals

Module 7: HTML Forms Fundamentals

Module Introduction

In the previous module, we learned how to create tables.

In this module, we will learn about forms. Forms allow people to enter information on a webpage. For example, when you register for a game, fill out a school form, or sign up for a website, you are using a form.


Lesson 1: What is a Form?

A form is a special area on a webpage where users can type information or make choices.

Forms help websites collect information from visitors.

Fun Example

Imagine your teacher gives you a paper asking for your name, age, and favorite subject. That paper is a form. HTML forms work the same way.


Lesson 2: Creating a Form

We create forms using the <form> tag.

<form>

</form>

Everything inside the form tag becomes part of the form.


Lesson 3: Text Input Fields

Text fields allow users to type information.

<form>

Name:
<input type="text">

</form>

Output

Name: [____________]

Fun Example

Think of a text box as an empty notebook page waiting for someone to write on it.


Lesson 4: Radio Buttons

Radio buttons allow users to choose only one option.

Favourite input type="radio"> Red
<input type="radio"> Blue
<input type="radio"> Green

You can select only one color.

Fun Example

Imagine choosing one ice cream flavor. You can only pick one flavor at a time.


Lesson 5: Checkboxes

Checkboxes allow users to select multiple options.

My Hobbies:

<input type="checkbox"> Football
<input type="checkbox"> Reading
<input type="checkbox"> Drawing

You can choose one, two, or all the hobbies.

Fun Example

Imagine choosing toppings for a pizza. You can select as many toppings as you want.


Lesson 6: Dropdown Lists

Dropdown lists allow users to choose from a list of options.

<select>

<option>Primary 4</option>
<option>Primary 5</option>
<option>Primary 6</option>

</select>

Clicking the dropdown shows all available choices.


Lesson 7: Submit Buttons

A submit button sends information from the form.

<input type="submit" value="Send">

Fun Example

Think of dropping a completed form into your teacher's collection box. The submit button does the same thing.


Lesson 8: Reset Buttons

A reset button clears everything entered into the form.

<input type="reset" value="Clear">

If you make a mistake, the reset button helps you start again.


Complete Example

<!DOCTYPE html>
<html>

<head>
    <title>Student Registration Form</title>
</head>

<body>

<h1>Student Registration Form</h1>

<form>

Name:
<input type="text">

<br><br>

Gender:

<input type="radio"> Boy
<input type="radio"> Girl

<br><br>

Hobbies:

<input type="checkbox"> Football
<input type="checkbox"> Reading

<br><br>

Class:

<select>
    <option>Primary 4</option>
    <option>Primary 5</option>
    <option>Primary 6</option>
</select>

<br><br>

<input type="submit" value="Submit">

<input type="reset" value="Reset">

</form>

</body>

</html>

Class Exercise 1

Fill in the blanks:

  1. _____ creates a form.
  2. _____ allows users to type text.
  3. _____ allows only one choice.
  4. _____ allows multiple choices.
  5. _____ creates a dropdown list.

Class Exercise 2

Create a form that asks for:

  • Your Name
  • Your Favorite Sport
  • Your Favorite Food

Add a Submit button.


Class Exercise 3

Fix the missing tags:

<_____>

Name:
<input type="text">

<input type="submit" value="Send">

</_____>

Mini Project

Create a webpage called schoolregistration.html.

Include:

  • A heading called "School Registration"
  • Name field
  • Age field
  • Gender radio buttons
  • Favorite Subject dropdown
  • Submit button
  • Reset button

Challenge Exercise

Create a "Favorite Things Survey" form.

Include:

  • Name field
  • Favorite Color (radio buttons)
  • Favorite Hobbies (checkboxes)
  • Favorite School Subject (dropdown)
  • Submit button

Module Summary

  • Forms collect information from users.
  • The <form> tag creates a form.
  • Text inputs allow typing.
  • Radio buttons allow one choice.
  • Checkboxes allow multiple choices.
  • Dropdown lists provide several options.
  • Submit buttons send information.
  • Reset buttons clear the form.
9

Module Eight

Module 8 - Semantic HTML

Module 8: Semantic HTML

Module Introduction

In the previous module, we learned how to create forms.

In this module, we will learn about Semantic HTML. Semantic HTML helps us organize our webpages using meaningful tags. These tags tell browsers and people what each part of a webpage does.


Lesson 1: What Does "Semantic" Mean?

Semantic means "having meaning."

Instead of using tags that say nothing about their purpose, Semantic HTML uses tags that clearly explain what they contain.

Fun Example

Imagine a toy box with labels. One box says "Cars," another says "Books," and another says "Games." The labels help you know what is inside each box.

Semantic HTML works the same way.


Lesson 2: The Header Element

The <header> tag contains the top section of a webpage.

<header>
    <h1>My School Website</h1>
</header>

Fun Example

The header is like the title page of a book. It tells visitors what the website is about.


Lesson 3: The Navigation Element

The <nav> tag contains links that help visitors move around a website.

<nav>
    <a href="#">Home</a>
    <a href="#">About</a>
    <a href="#">Contact</a>
</nav>

Fun Example

Think of navigation as road signs that help people find their way.


Lesson 4: The Main Element

The <main> tag contains the most important information on a webpage.

<main>
    <p>Welcome to my website.</p>
</main>

Fun Example

If a webpage were a school, the main section would be the classroom where most learning happens.


Lesson 5: The Section Element

The <section> tag divides content into different parts.

<section>
    <h2>My Hobbies</h2>
    <p>I enjoy football.</p>
</section>

Each section focuses on a specific topic.


Lesson 6: The Article Element

The <article> tag contains a complete piece of content, such as a story, news article, or blog post.

<article>
    <h2>My Trip to the Zoo</h2>
    <p>I saw lions and elephants.</p>
</article>

Fun Example

An article is like a chapter in a book. It can stand on its own and tell a complete story.


Lesson 7: The Footer Element

The <footer> tag contains information shown at the bottom of a webpage.

<footer>
    © 2026 My Website
</footer>

Fun Example

The footer is like the last page of a book, where you often find extra information.


Lesson 8: Why Semantic HTML is Important

  • It makes webpages easier to understand.
  • It helps search engines understand your website.
  • It makes code cleaner and more organized.
  • It helps people using screen readers.

Fun Example

Imagine your room is organized with labeled shelves. You can find things faster because everything has a place. Semantic HTML keeps webpages organized the same way.


Complete Example

<!DOCTYPE html>
<html>

<head>
    <title>My Website</title>
</head>

<body>

<header>
    <h1>My Website</h1>
</header>

<nav>
    <a href="#">Home</a>
    <a href="#">About</a>
</nav>

<main>

    <section>
        <h2>About Me</h2>
        <p>I love coding.</p>
    </section>

    <article>
        <h2>My First HTML Project</h2>
        <p>I created a webpage about my hobbies.</p>
    </article>

</main>

<footer>
    © 2026 My Website
</footer>

</body>
</html>

Class Exercise 1

Fill in the blanks:

  1. _____ contains the top part of a webpage.
  2. _____ contains navigation links.
  3. _____ contains the most important content.
  4. _____ contains a complete story or post.
  5. _____ appears at the bottom of a webpage.

Class Exercise 2

Create a webpage with:

  • A header
  • A navigation menu
  • A main section
  • A footer

Class Exercise 3

Fix the missing tags below:

<_____>
    <h1>My School Website</h1>
</_____>

<_____>
    <a href="#">Home</a>
</_____>

<_____>
    Welcome to my school website.
</_____>

Use:

  • <header>
  • <nav>
  • <main>

Mini Project

Create a webpage called myprofile.html.

Include:

  • A header with your name
  • A navigation menu
  • A section about yourself
  • An article about your favorite hobby
  • A footer with the year

Challenge Exercise

Create a "My School Website" page using:

  • Header
  • Navigation
  • Main
  • Two Sections
  • One Article
  • Footer

Module Summary

  • Semantic HTML uses meaningful tags.
  • Header contains the top part of a webpage.
  • Navigation helps users move around a website.
  • Main contains important content.
  • Sections divide content into topics.
  • Articles contain complete pieces of information.
  • Footers appear at the bottom of webpages.
  • Semantic HTML makes websites organized and easy to understand.
10

Module Nine

Module 9 - HTML Project Development

Module 9: HTML Project Development

Module Introduction

Congratulations! You have learned many HTML skills.

You now know how to create headings, paragraphs, images, tables, forms, links, and semantic HTML sections.

In this module, you will combine everything you have learned to build a complete website.


Lesson 1: What is a Website Project?

A website project is a collection of web pages that work together.

Instead of creating only one page, you will create several pages and connect them using links.

Fun Example

Think of a website as a school. A school has classrooms, offices, a library, and a playground. Each room has a different purpose, but they all belong to the same school.

A website works the same way. Each page has a different purpose but belongs to the same website.


Lesson 2: Planning Your Website

Before building a website, it is important to plan it.

Ask yourself:

  • What is my website about?
  • Who will visit my website?
  • What pages do I need?

Example Website Plan

  • Home Page
  • About Me Page
  • My Hobbies Page
  • Contact Page

Lesson 3: Creating Multiple Pages

A website usually contains more than one page.

Example:

  • index.html (Home Page)
  • about.html (About Me)
  • hobbies.html (My Hobbies)
  • contact.html (Contact Page)

Each file becomes a separate webpage.


Lesson 4: Linking Pages Together

We use hyperlinks to connect pages.

<a href="about.html">
About Me
</a>

When visitors click the link, they move to another page.

Fun Example

Think of links as hallways connecting classrooms in a school.


Lesson 5: Adding Navigation Menus

Navigation menus help visitors move around the website.

<nav>

<a href="index.html">Home</a>

<a href="about.html">About</a>

<a href="hobbies.html">Hobbies</a>

<a href="contact.html">Contact</a>

</nav>

Place the same menu on every page.


Lesson 6: Adding Content to Pages

Each page should contain useful information.

Home Page

  • Welcome message
  • Website title
  • Picture

About Page

  • Your name
  • Your age
  • Interesting facts about you

Hobbies Page

  • Favorite sports
  • Favorite games
  • Pictures

Contact Page

  • Contact form
  • Email address

Lesson 7: Testing Your Website

After creating your website, test everything.

  • Do all links work?
  • Do images appear?
  • Do forms display correctly?
  • Are there spelling mistakes?

Fun Example

Testing is like checking your homework before submitting it.


Lesson 8: Fixing Problems

Sometimes mistakes happen.

Common problems include:

  • Missing closing tags
  • Broken image paths
  • Wrong file names
  • Missing links

Always check your code carefully.


Complete Website Example

Home Page (index.html)

<h1>Welcome to My Website</h1>

<nav>
    <a href="about.html">About</a>
    <a href="hobbies.html">Hobbies</a>
    <a href="contact.html">Contact</a>
</nav>

<p>Hello! My name is Tolu.</p>

About Page (about.html)

<h1>About Me</h1>

<p>I am 10 years old.</p>

Hobbies Page (hobbies.html)

<h1>My Hobbies</h1>

<ul>
    <li>Football</li>
    <li>Reading</li>
</ul>

Contact Page (contact.html)

<h1>Contact Me</h1>

<form>
    Name:
    <input type="text">
</form>

Class Exercise 1

Answer the following questions:

  1. What is a website project?
  2. Why should you plan a website?
  3. What does a navigation menu do?
  4. Why is testing important?
  5. Name one common HTML mistake.

Class Exercise 2

Create three pages:

  • Home Page
  • About Page
  • Contact Page

Connect them using hyperlinks.


Class Exercise 3

Complete the missing code:

<nav>

<a href="________">Home</a>

<a href="________">About</a>

<a href="________">Contact</a>

</nav>

Mini Project

Build a website called My Personal Website.

Create:

  • Home Page
  • About Me Page
  • My Hobbies Page
  • Contact Page

Include:

  • Headings
  • Paragraphs
  • Images
  • Lists
  • Links
  • Forms

Final Project Challenge

Create a website about:

  • Your School
  • Your Favorite Football Team
  • Your Favorite Animal
  • Your Favorite Superhero

Use everything you have learned in the course.


Module Summary

  • A website project contains multiple pages.
  • Planning helps create better websites.
  • Hyperlinks connect pages together.
  • Navigation menus help visitors move around.
  • Every page should have useful content.
  • Testing helps find mistakes.
  • Fixing errors improves your website.
  • Combining HTML skills helps build complete websites.
11

Module Ten

Module 10 - Best Practices and Course Review

Module 10: Best Practices and Course Review

Module Introduction

Congratulations! You have reached the final module of your HTML course.

In this module, we will review everything we have learned and discover some good habits that make our HTML code neat, easy to read, and easy to fix when mistakes happen.


Lesson 1: What Are Best Practices?

Best practices are smart ways of doing things.

They help programmers write clean and organized code.

Fun Example

Imagine cleaning your room. When toys, books, and clothes are arranged properly, it is easy to find things.

Clean HTML code works the same way.


Lesson 2: Always Use Proper HTML Structure

Every HTML page should have the correct structure.

<!DOCTYPE html>

<html>

<head>
    <title>My Page</title>
</head>

<body>

    Content goes here

</body>

</html>

This structure helps browsers understand your webpage.


Lesson 3: Use Meaningful Headings

Headings help visitors understand your page.

<h1>My Favorite Animals</h1>

Good headings tell readers exactly what the page is about.


Lesson 4: Indent Your Code

Indentation means adding spaces to make code easier to read.

<body>

    <h1>Welcome</h1>

    <p>Hello World</p>

</body>

Fun Example

Imagine arranging books neatly on a shelf instead of throwing them on the floor.


Lesson 5: Close Your Tags Properly

Most HTML tags need a closing tag.

<p>This is a paragraph.</p>

Forgetting to close tags can cause problems on your webpage.


Lesson 6: Use Comments

Comments help you leave notes in your code.

<!-- This section contains my hobbies -->

Comments are not shown on the webpage.


Lesson 7: Use Descriptive File Names

Give your files meaningful names.

Good Examples

about.html

contact.html

gallery.html

Bad Examples

page1.html

test.html

abc.html

Good names make files easier to find.


Lesson 8: Review of Everything Learned

Let's remember what we learned throughout the course.

Module Topic
1 Introduction to HTML
2 HTML Page Structure
3 Text Content
4 Lists and Hyperlinks
5 Images and Multimedia
6 Tables
7 Forms
8 Semantic HTML
9 Website Project Development

Lesson 9: Common Mistakes to Avoid

  • Forgetting closing tags
  • Misspelling tag names
  • Using the wrong file name in links
  • Saving files without .html extension
  • Forgetting image paths

Fun Example

These mistakes are like spelling mistakes in your homework. They can make things confusing.


Lesson 10: Final Website Example

<!DOCTYPE html>

<html>

<head>
    <title>My Personal Website</title>
</head>

<body>

<header>
    <h1>My Personal Website</h1>
</header>

<nav>
    <a href="about.html">About</a>
    <a href="contact.html">Contact</a>
</nav>

<main>

    <section>
        <h2>About Me</h2>
        <p>I love coding and football.</p>
    </section>

</main>

<footer>
    © 2026 My Website
</footer>

</body>

</html>

Class Exercise 1

Answer the following questions:

  1. What are best practices?
  2. Why should we indent code?
  3. Why are comments useful?
  4. Why should tags be closed properly?
  5. What is one common HTML mistake?

Class Exercise 2

Find and correct the mistakes below:

<h1>My Website

<p>Welcome to my webpage.

<body>

Class Exercise 3

Create a webpage that contains:

  • A heading
  • Two paragraphs
  • An image
  • A list
  • A hyperlink

Final Project

Build a complete website using everything you have learned.

Your website should include:

  • A Home Page
  • An About Page
  • A Contact Page
  • Navigation Links
  • Images
  • Lists
  • Tables
  • Forms
  • Semantic HTML Elements

Course Completion Challenge

Create a website about yourself, your school, your favorite sport, or your favorite animal.

Use as many HTML elements as possible.

Show your website to a friend, parent, or teacher and explain how it works.


Congratulations!

You have completed Introduction to HTML Level One.

You can now create webpages with text, images, links, tables, forms, and multiple pages.

Keep practicing and you will soon be ready to learn CSS, which makes webpages colorful and beautiful.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, pass the exam, and unlock Practice Tools plus a verified certificate with your name on it โ€” โ‚ฆ4,000/month.

๐ŸŽ“ Sign Up & Unlock for โ‚ฆ4,000/month
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - try them free for 7 days, no card required.
โ†’