ul
In an unordered list (<ul>), the order of the list
items is not significant. List items are typically styled on output
with a "bullet" character, depending on nesting level.
Contains
note
These models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
Doctype | Content model |
---|---|
topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary | (li) (one or more) |
Contained by
Inheritance
- topic/ul
Example
<ul> <li>This is an item in an unordered list.</li> <li>To separate it from other items in the list, the formatter puts a bullet beside it.</li> <li>The following paragraph, contained in the list item element, is part of the list item which contains it. <p>This is the contained paragraph.</p></li> <li>This is the last list item in our unordered list.</li> </ul>
Attributes
Name | Description | Data Type | Default Value | Required? |
---|---|---|---|---|
compact | Indicates close vertical spacing between the list items.
Expanded spacing is the default value. The output result of compact spacing
depends on the processor or browser. Allowed values are:
|
(yes | no | -dita-use-conref-target) | #IMPLIED | No |
spectitle | The specialized title attribute allows architects of specialized types to define a fixed or default title for a specialized element. Not intended for direct use by authors. | CDATA | #IMPLIED | No |
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) | A set of related attributes, described in univ-atts attribute group | |||
global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
class, outputclass | Common attributes described in Other common DITA attributes |