|
|
| Along with hyperlinks, lists are another staple of HTML documents on the World Wide Web. There are two types of lists, ordered and unordered; both types are encapsulated by the htmlList class.
|
|
|
| An ordered list is a list in which the list items are numbered. Several different numbering styles are available, including arabic, upper/lowercase letters, and upper/lowercase Roman numerals.
|
|
|
| An unordered list is not numbered, and may optionally contain a bullet symbol preceding each list item, such as a small circle or square.
|
|
|
| htmlList inherits from htmlGroup, so it can contain other html++ objects, notably htmlListItem objects. List items are added to htmlList using the << insertion operator or the Add() method. If text or another non-htmlListItem (or non-htmlList) object is added, it will be converted internally to an htmlListItem object.
|
|
|
|
|
| |