Lists may be nested to represent hierarchical relationships, as in an outline format. Figure J.9 demonstrates nested lists and ordered lists (i.e., list that order items by letter or number).
Figure J.9. Nested and ordered lists in XHTML.
(This item is displayed on pages 1341 - 1343 in the print version)
"http://www.w3.org/1999/xhtml"> 9 10
The first ordered list begins in line 33. Attribute type specifies the sequence type (i.e., the set of numbers or letters used in the ordered list). In this case, setting type to "I" specifies upper-case roman numerals. Line 47 begins the second ordered list and sets attribute type to "a", specifying lowercase letters for the list items. The last ordered list (lines 7175) does not use attribute type. By default, the list's items are enumerated from one to three.
A Web browser indents each nested list to indicate a hierarchal relationship. By default, the items in the outermost unordered list (line 18) are preceded by discs. List items nested inside the unordered list of line 18 are preceded by circles. Although not demonstrated in this example, subsequent nested list items are preceded by squares. Unordered list items can be explicitly set to discs, circles or squares by setting the ul element's type attribute to "disc", "circle" or "square", respectively.
Introduction to Computers, the Internet and World Wide Web
Introduction to C++ Programming
Introduction to Classes and Objects
Control Statements: Part 1
Control Statements: Part 2
Functions and an Introduction to Recursion
Arrays and Vectors
Pointers and Pointer-Based Strings
Classes: A Deeper Look, Part 1
Classes: A Deeper Look, Part 2
Operator Overloading; String and Array Objects
Object-Oriented Programming: Inheritance
Object-Oriented Programming: Polymorphism
Templates
Stream Input/Output
Exception Handling
File Processing
Class string and String Stream Processing
Web Programming
Searching and Sorting
Data Structures
Bits, Characters, C-Strings and structs
Standard Template Library (STL)
Other Topics
Appendix A. Operator Precedence and Associativity Chart
Appendix B. ASCII Character Set
Appendix C. Fundamental Types
Appendix D. Number Systems
Appendix E. C Legacy Code Topics
Appendix F. Preprocessor
Appendix G. ATM Case Study Code
Appendix H. UML 2: Additional Diagram Types
Appendix I. C++ Internet and Web Resources
Appendix J. Introduction to XHTML
Appendix K. XHTML Special Characters
Appendix L. Using the Visual Studio .NET Debugger
Appendix M. Using the GNU C++ Debugger
Bibliography