Etext HomeGeneral InfoCollectionsServicesFeaturesStandardsContact UsQuestions?VIRGO

Some Example HTML Lists

<ul>
<li>Items appear in the order you type them
<li>Items are preceded by bullets
<li>Each item appears on a line of its own
</ul>
  • Items appear in the order you type them
  • Items are preceded by bullets
  • Each item appears on a line of its own
<ol>
<li>Items appear in the order you type them
<li>Items are preceded by numbers
<li>Each item appears on a line of its own
</ol>
  1. Items appear in the order you type them
  2. Items are preceded by numbers
  3. Each item appears on a line of its own
<ol>
<li>You can also nest lists
<li>Replace an <li> by an entire list structure
   <ul>
   <li>Sub-lists are indented
   <li>Sub-lists behave as regular lists
   </ul>
<li>To form an outline structure
</ol>
  1. You can also nest lists
  2. Replace an <li> by an entire list structure
    • Sub-lists are indented
    • Sub-lists behave as regular lists
  3. To form an outline structure
Term 1
This is the "definition" for term 1. As you can see, it appears on the next line, indented from the left margin.
Term 2
This is the "definition" for term 2. The <dl> structure may be used for many purposes where this kind of layout would be handy.