GAME DEV 2026 · HTML FUNDAMENTALS

t1a02 — Lists by Innes

This page demonstrates unordered lists and nested lists by organizing whale species into two groups.

Whales

Whale image

Learn more from Whales.org's species guide.

Whale species list

  • Toothed whales
    • Killer whaleKiller whale
      A highly social toothed whale
    • Beluga whaleBeluga whale
      Known for its pale colour
    • Sperm whaleSperm whale
      A deep-diving toothed whale
  • Baleen whales
    • Humpback whaleHumpback whale
      Famous for its songs
    • Blue whaleBlue whale
      The largest animal known to have lived

More list types

An unordered list uses bullets. An ordered list uses a sequence, and a description list pairs terms with explanations.

Ordered list

  1. Plan the project
  2. Write the HTML
  3. Style the page
  4. Test the result

Description list

HTML
Structures the page.
CSS
Styles the page.
JavaScript
Adds behaviour.

Nested ordered list

  1. Build a game
    • Create a player
    • Add controls
    • Add a goal
  2. Test the game

Quick list builder

This demonstrates how JavaScript can add new list items to an HTML list.

\n

Challenge: Build a nested list

Create a nested list of three game genres, with at least two example games under each genre. Try changing the list type and nesting level.