HTML Ordered List Element (OL)

Details about number order. In ordered lists, it is not possible to continue list numbering automatically from a previous list or to hide numbering of some list items. However, authors can reset the number of a list item by setting its value attribute. Numbering continues from the new value for subsequent list items. For example:

Source code:
<OL>
<LI value="10"> makes this list item number 10.
<LI value="30"> makes this list item number 30.
<LI> makes this list item number 31, even though the value attribute is not set in the <LI> tag
</OL>
  1. makes this list item number 10.
  2. makes this list item number 30.
  3. makes this list item number 31, even though the value attribute is not set.



previous slide | next slide
Return to Beginning of Presentation
Return to Software Development Library