Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† 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.
5
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.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’