ⓘ ul – unordered 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 attributes #
- ⓘ
global attributes
- Any attributes permitted globally.
- aria =
#
- (detailed attribute description to come)
- region =
#
- (detailed attribute description to come)
Additional constraints and admonitions #
-
The “type” attribute on the “ul” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
-
The “compact” attribute on the “ul” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
Permitted parent elements #
any element that can contain
flow elements
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; }