kmdhrm kmdhrm - 1 year ago 62
HTML Question

Nested Orderd List with combination of numbers, alphatets and roman numerals for numbering?

I want to create an ordered list that looks like this:

1. Item_1
2. Item_2:
a. Subitem_1
b. Subitem_2:
I. Sub-Subitem_1
II. Sub-Subitem_2
c. Subtiem_3
3. Item 3

i.e. sub-lists should use alphabets/Roman Numbers or other such notations for numbering.

I tried nesting
tags but that plainly numbered the sub-lists.
Is there a way of doing this using only HTML?

<ol type="1|a|A|i|I">

1   Default. Decimal numbers (1, 2, 3, 4)
a   Alphabetically ordered list, lowercase (a, b, c, d)
A   Alphabetically ordered list, uppercase (A, B, C, D)
i   Roman numbers, lowercase (i, ii, iii, iv)
I   Roman numbers, uppercase (I, II, III, IV)