<ul>

line.gif

Initiates the specification of an unordered list.

Syntax

<ul type=value compact>
...
...
</ul>

Attributes

type Type is circle, square or disk.
compact Compact instructs the browser to compress the viewing space of the list.

Notes

Examples

The code:

<ul type=square>
<li>This is the first item in the outer list.
<ul type=disc compact>
<li>The is the first item of the inner list.
<li>And this is the second and last item of the inner list.
</ul>
<li>This is the second item of the outer list.
</ul>

produces: