Gosub lists test

Ordered and unordered list markers, list-style properties, start/reversed, nesting, CSS counters, ::marker, and description lists.

Unordered marker types

disc

circle

square

none

string marker

Ordered marker types

decimal

  1. One
  2. Two
  3. Three

leading-zero

  1. One
  2. Two
  3. Three

upper-roman

  1. One
  2. Two
  3. Three

lower-alpha

  1. One
  2. Two
  3. Three

lower-greek

  1. One
  2. Two
  3. Three

start & reversed

start="5"

  1. Five
  2. Six
  3. Seven

reversed

  1. Third
  2. Second
  3. First

value override

  1. One
  2. Ten
  3. Eleven

list-style-position

outside

inside

Nested lists

mixed nesting

section counters (1.1.1)

  1. Intro
    1. Scope
    2. Goals
  2. Design
    1. Overview
      1. Modules
    2. Details

CSS counters & ::marker

custom counter ::before

  1. Generated
  2. numbering via
  3. counter()

styled ::marker

Description list

HTML
HyperText Markup Language — the document structure.
CSS
Cascading Style Sheets — presentation and layout.
DOM
Document Object Model — the in-memory tree.

List as navigation