Creating a list

If you want to create a list you can use the Ordered List or Unorder List tags.

Order List:

<OL> Opening tag
<LI> For each item in list
</OL> Closing tag

You Type     You Get
<OL>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</OL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4

Add an attribute to the opening <OL> tag to get a different type of list.

You Type     You Get
<OL start=10>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</OL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4


You Type     You GetYou Type     You Get
<OL type=A>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</OL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4
<OL type=a>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</OL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4


You Type     You GetYou Type     You Get
<OL type=I>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</OL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4
<OL type=i>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</OL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4

Attributes:

  1. Type=A Uppercase
  2. Type=a Lowercase
  3. Type=I Capital Roman
  4. Type=i Small Roman
  5. Start=5 The number at which the list starts


Unordered List:

<UL> Opening tag
<LI> For each item in list
</UL> Closing tag

You Type     You Get
<UL>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</UL>
  • Item 1
  • Item 2
  • Item 3
  • Item 4

Add an attribute to the opening <UL> tag to get a different type of list.
By default you get the disc.

You Type     You GetYou Type     You Get
<UL type=square>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</UL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4
<UL type=circle>
<LI>Item 1
<LI>Item 2
<LI>Item 3
<LI>Item 4
</UL>
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4

Attributes:

  1. Type=square
  2. Type=circle
  3. Type=disc

Definition List

<DL> Start Definition List

<DT> Definition Term

<DD> Definition Data

</DL> End Definition List

Used to list terms and their definitions.
Example:

<DL>

<DT>House
<DD>A place where people live
<DT>Beer
<DD>A alcoholic drink :)
</DL>

This would show as:

House
A place where people live
Beer
A alcoholic drink :)