Up: Elements reference



<enumerate>

Attributes:

xml:lang
human language (inherited)
id
unique name (identifier)
style/class
style properties and class (e.g. for CSS)

Possible Contents: item*

Description: A numbered list of <item>s.

Example

     <p>The three laws of Captain Ed Murphy:</p>
     
     <enumerate>
       <item>Nothing is as easy as it looks.</item>
       <item>Everything takes longer than you think.</item>
       <item>If anything can go wrong, it will.</item>
     </enumerate>

This yields:

The three laws of Captain Ed Murphy:

  1. Nothing is as easy as it looks.
  2. Everything takes longer than you think.
  3. If anything can go wrong, it will.