HTML
lists
Using lists
in your HTML document
One more popular way to format
the text is to use lists. The HTML list command is:
<UL>
<LI> text
<LI> text
</UL>
This is an unordered list. Each item in the list is set off with the <LI>
tag. If we use <TYPE="disc|square|circle">
attribute together with <UL> or <LI> command we'll get
different list symbols. <LI> tags do not require a closing tag.
The list is somewhat indented from the rest of the text. Examples:
An ordered list command:
<OL> ... </OL>
The next list command is used to list definitions:
<DL>
<DT> Definition term
<DD> Term definition
</DL>
Example:
- The first
term
-
The first term
definition.
- The second
term
-
The second
term definition,
The next definition line.
Well, lets go to the next
section HTML tables.
|