<li>

A <li> element is a single item in an ordered (<ol>) or unordered (<ul>) list. When a DITA topic is rendered, numbers and alpha characters are typically displayed with list items in ordered lists, while bullets and dashes are typically displayed with list items in unordered lists.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/li

Example

<ul>
  <li>This is an item in an unordered list.</li>
  <li>This is another item in an unordered list.</li>
</ul>

Attributes

The following attributes are available on this element: Universal attribute group and @outputclass.

Was this helpful?