HTML: The Markup Language

ulunordered list # T

The ul element represents an unordered list of items; that is, a list in which changing the order of the items would not change the meaning of list.

Permitted contents #

zero or more li elements

Permitted attributes #

global attributes
Any attributes permitted globally.

Additional constraints and admonitions #

Tag omission #

A ul element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain flow elements

DOM interface #

interface HTMLUListElement : HTMLElement {};

Typical default display properties #

ul {
display: block;
list-style-type: disc;
margin-before: 1em;
margin-after: 1em;
margin-start: 0;
margin-end: 0;
padding-start: 40px; }