Reference lesson

HTML Lists

Represent ordered steps and unordered collections.

About 8 minutes

What you’ll learn

Use ul when order is unimportant and ol when sequence changes the meaning. Each item belongs in an li element.

Try it yourself

Press Ctrl/Cmd + Enter to run.