Arbitrary list counters with HTML attributes

Using HTML attributes only, no CSS generated content.

Each example shows a normal list and a reversed one.

Simple OL list

  1. Item A
  2. Item B
  3. Item C
  4. Item D
  1. Item A
  2. Item B
  3. Item C
  4. Item D

With start=100

  1. Item A
  2. Item B
  3. Item C
  4. Item D
  1. Item A
  2. Item B
  3. Item C
  4. Item D

With start=-100

  1. Item A
  2. Item B
  3. Item C
  4. Item D
  1. Item A
  2. Item B
  3. Item C
  4. Item D

Mixing OL start (10) and LI value

  1. Item A
  2. Item B (value=421)
  3. Item C
  4. Item D
  1. Item A
  2. Item B (value=421)
  3. Item C
  4. Item D