Version | W3C//DTD HTML 3.2 Final//EN
|
---|
Element | UL |
---|
Purpose | unordered list |
---|
Description | This element defines an unordered list, a list of items whose ordering is not important. Examples include elements of unordered sets or items which are not ranked by some quality (such as items in a basket or children) or which have no ordering function (complex numbers).
Compare this with the ordered list OL.
|
---|
Start tag | Required <UL>
|
---|
Attributes | Name | Type | Default | Comment |
---|
compact | ( compact ) | #IMPLIED | reduced interitem spacing | type | ( disc | square | circle ) | #IMPLIED | bullet style
|
|
---|
Content | ( LI )+
|
---|
End tag | Required </UL>
|
---|
Referenced in | BLOCKQUOTE BODY CENTER DD DIR DIV FORM LI MENU TD TH
|
---|
Example | Source | Appearance |
---|
Items in the Universe
<UL type="square">
<LI>Matter
<LI>Energy
<LI>Gravity
</UL>
| Items in the Universe
|
|
---|