Next / Previous / Contents / TCC Help System / NM Tech homepage

9.7. The ul element: Unnumbered or “bullet” lists

Use the ul (unnumbered list) element when you want to format a “bullet list” like this one:

The “bullet” is the symbol, usually a round black dot, that appears before each item in the list. Here's the XHTML content model:

element ul
{ Common.attrib,
  li+
}
Common.attrib

You can use any of the attributes enumerated in Section 15.3, “The common attributes: Common.attrib.

li

Each bullet's content must be wrapped in an li (list item) element. There must be at least one li element, but there may be any number. See Section 9.8, “The li element: List item” for that element's content.

This example shows how the bullet list above would be formatted in XHTML.

      <ul>
        <li>
          This is the first bullet.
        </li>
        <li>
          Second bullet here.
        </li>
      </ul>