WeLearn

Grade 11 Information Technology · Lesson 4.6

HTML Lists

Unit 4: Web Development

Lists organise related items so that they are easy to read. HTML provides three main types. An unordered list, created with <ul>, shows items with bullet points and is used when the order does not matter, such as a list of ingredients. An ordered list, created with <ol>, numbers the items automatically and is used when sequence matters, such as steps of a procedure. In both, each item is written inside an <li> (list item) element.

Key terms

<ul>
unordered (bulleted) list
<ol>
ordered (numbered) list
<li>
list item
<dl>
description list
<dt>
term in a description list
<dd>
description of a term
Nested list
list placed inside a list item
All Grade 11 Information Technology key terms →

Summary

  • <ul> makes bulleted lists; <ol> makes numbered lists; items use <li>.
  • type and start customise ordered lists.
  • <dl>, <dt>, <dd> create description lists.
  • Nested lists go inside an <li>.

In everyday life: Navigation menus on websites such as news portals are usually built from nested HTML lists styled with CSS.

Check yourself

  • When should you use <ol> instead of <ul>?
  • How do you number a list with capital letters?
  • What tags make a description list?
  • Where must a nested list be placed?

Practice questions

  1. 1. True or false: The <ol> tag creates a numbered (ordered) list.

    Show answer

    Answer: True

    <ol> means ordered list and numbers items automatically; <ul> creates a bulleted list.

On WeLearn

The full lesson: reading notes, worked examples, class activities and the Unit 4 quiz

Study HTML Lists on WeLearn

Teach HTML Lists with WeLearn

We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.