Page 116 - HTML5
P. 116
Type Description Examples
1 Default value - Decimal numbers 1,2,3,4
a Alphabetically ordered (lowercase) a,b,c,d
A Alphabetically ordered (uppercase) A,B,C,D
i Roman Numerals (lowercase) i,ii,iii,iv
I Roman Numerals (uppercase) I,II,III,IV
You should use ol to display a list of items, where the items have been intentionally
ordered and order should be emphasized. If changing the order of the items does NOT
make the list incorrect, you should use <ul>.
Description List
A description list (or definition list, as it was called before HTML5) can be created with the dl
element. It consists of name-value groups, where the name is given in the dt element, and the
value is given in the dd element.
<dl>
<dt>name 1</dt>
<dd>value for 1</dd>
<dt>name 2</dt>
<dd>value for 2</dd>
</dl>
Live demo
A name-value group can have more than one name and/or more than one value (which represent
alternatives):
<dl>
<dt>name 1</dt>
<dt>name 2</dt>
<dd>value for 1 and 2</dd>
<dt>name 3</dt>
<dd>value for 3</dd>
<dd>value for 3</dd>
</dl>
Live demo
Nested lists
You can nest lists to represent sub-items of a list item.
https://riptutorial.com/ 100

