|
|
| (beginner) |
|
|
|
Lists in HTML are set apart from the surrounding text by the height of
one line of text.
Lists are indented from surrounding text; nested lists are indented from
the parent list.
To set text apart in a bulleted list:
Begin the list by using <UL> </UL>
(unordered list), and nesting inside it, for every bullet: <LI>
(no closing tag needed)
To create a numbered list:
Begin the list by using <OL> </OL>
(ordered list), with the <LI> tags inside it.
|
Text text text text text text text text (unordered
list):
- text text text text text text text
- text text text text text text text
text text text text text text text text (ordered list)
- text text text text text text text
- text text text text text text text
- text text text text text text text
|
You can affect the appearance of bullets
with the attribute TYPE inside the <UL>
or <OL> tags:
- <OL TYPE="A">
- <OL TYPE="a">
- <OL TYPE="I">
- <OL TYPE="i">
|
|