Categories
HTML Tutorials

Unordered list

A bulleted list contains one or more items each prefaced by a bullet (often a big dot). Use this kind of list if the items’ order isn’t necessary for understanding the information it presents.

A bulleted list requires the following:

  1. The unordered list element (<ul>) specifies a bulleted list.
  2. A list item element (<li>) marks each item in the list.
  3. The closing tag for the unordered list element (</ul>) indicates that the list has come to its end.

The following markup formats a three-item list as a bulleted list:

<html>
  <head>
    <meta charset="UTF-8" />
    <title>Bulleted Lists</title>
  </head>
  <body>
    <h1>Things to do today</h1>
    <ul>
      <li>Feed cat</li>
      <li>Wash car</li>
      <li>Grocery shopping</li>
    </ul>
  </body>
</html>
Things to do today
  • Feed cat
  • Wash car
  • Grocery shopping