To create a bulleted list you need to
add a <ul> and a </ul> tag at the beginning and the end of the
list. Numbered lists have <ol> tags
instead of <ul> tags.
To separate single list items, use
<li> and </li> tags.
Look
at these examples to see the detailed syntax:
Unordered List
|
Explanation / Example |
<ul>
<li>text</li> <li>text</li> <li>text</li> </ul> |
Makes
a bulleted list using the default bullet type:
·
text
·
text
·
text
|
<ul type="disc">
|
Starts
a bulleted list using discs as bullets:
·
This is one line
·
This is another line
·
And this is the final line
|
<ul type="circle">
|
Starts
a bulleted list using circles as bullets:
o This is one
line
o This is
another line
o And this is
the final line
|
<ul type="square">
|
Starts
a bulleted list using squares as bullets:
§ This is one
line
§ This is
another line
§ And this is
the final line
|
Ordered List
|
Explanation / Example
|
<ol>
<li>text</li> <li>text</li> <li>text</li> </ol> |
Makes a numbered
list using the default number type:
1.
text
2.
text
3.
text
|
<ol start="5">
|
Starts
a numbered list, first # being 5.
5.
This is one line
6.
This is another line
7.
And this is the final line
|
<ol type="A">
|
Starts
a numbered list, using capital letters.
A.
This is one line
B.
This is another line
C.
And this is the final line
|
<ol type="a">
|
Starts
a numbered list, using small letters.
a.
This is one line
b.
This is another line
c.
And this is the final line
|
<ol type="I">
|
Starts a numbered
list, using capital roman numbers.
I.
This is one line
II.
This is another line
III.
And this is the final line
|
<ol type="i">
|
Starts a numbered
list, using small roman numbers.
i.
This is one line
ii.
This is another line
iii.
And this is the final line
|