<ul> Syntax
Syntax Diagram for <ul>
Opening Tag |
Content |
Closing Tag |
Open |
Parameter |
= |
Value |
Close |
<ul |
type |
= |
disc |
> |
list |
</ul> |
disk |
circle |
square |
Syntax Diagram for <li>
Opening Tag |
Content |
Closing Tag |
Open |
Parameter |
= |
Value |
Close |
<li |
type |
= |
disc |
> |
item text |
</li> |
disk |
circle |
square |
<ul> Description
The <ul>. . . </ul> tags delimit
an unordered list, each item of which is indicated by the "list item" tag
<li>. Both the <ul> and the
<li> tag allow specification of bullet type. The default
bullet type depends on the nesting level: first disc (or
disk, since they are identical), then circle, then
square, and the cycle repeats as necessary.
<ul> Examples
This markup:
Here is a nested list:
- First item, whose unwieldy length
indicates nothing but that list items
correctly exhibit a hanging indent.
- Nested list item 1
- Nested list item 2
- Second item
. . .causes the following to be displayed:
Here is a nested list:
- First item, whose unwieldy length
indicates nothing but that list items
correctly exhibit a hanging indent.
- Nested list item 1
- Nested list item 2
- Second item
Last Modified: