List

] ] ] ]

There are several ways to display information in lists with HTML: Ordered List, Unordered List, Menu List, Directory List and Definition List. Also, to create a list having a list header is possible by adding this command: <LH>…</LH>.

 

Ordered List or Numbered List = <OL>…</OL>

<OL>

<LI>…

<LI>…

<LI>…

</OL>

 

 

Ordered List: Extensions

<OL TYPE=A>

A, B, C, D,…

<OL TYPE=a>

a, b, c, d,…

<OL TYPE=I>

I, II, III, IV,…

<OL TYPE=i>

i, ii, iii, iv,…

<OL TYPE=1>

1, 2, 3, 4,…

<OL START=9>

9, 10, 11, 12,…

 

Unordered List or Bulleted List = <UL>…</UL>

<UL>

<LI>…

<LI>…

<LI>…

</UL>

 

 

Unordered List: Extensions

<UL TYPE=CIRCLE>

¡

<UL TYPE=SQUARE>

n

<UL TYPE=DISC>

l

 

Menu List = <MENU>…</MENU>

<MENU>

<LI>…

<LI>…

<LI>…

</MENU>

 

Directory List = <DIR>…</DIR>

<DIR>

<LI>…

<LI>…

<LI>…

</DIR>

 

Definition List or Glossary List = <DL>…</DL>

<DL>

<DT>…

<DD>…

</DL>

 

Combining List Types

 

Example: Ordered List + Unordered List

<OL>

<LI>…

<UL>

<LI>…

<LI>…

<LI>…

</UL>

<LI>…

<UL>

<LI>…

<LI>…

<LI>…

</UL>

</OL>

 

Previous | HTML Page | Next