Student Version
In the previous lesson you created an unordered list. In this lesson, you create an ordered list. In an ordered list, the actual order of the items in the list is significant. When viewed in a browser, instead of seeing bullets before each item, the items are typically numbered in sequence. The XHTML code for creating an ordered list is very similar to the code for creating an unordered list. The only difference is that the list begins and ends with the <ol> and </ol> tags respectively.
In this lesson, the ordered list that you will be creating will be a list of links to the websites you develop for clients.
At the completion of this exercise:
<ol>
<li>First Client Website</li>
<li>Second Client Website</li>
<li>Third Client Website</li>
</ol>
Remember, indenting the <li> tags helps keep the coding organized but will not alter how the list appears in a browser.
After you have saved the changes to index.htm, return to your browser and refresh to see the changes. Are there three numbered items in the list? Show your instructor your results before starting Lesson 3.
Copyright © 2005-2008 by University of Washington. Permission is granted to use these materials in whole or in part for educational, noncommercial purposes provided the source is acknowledged. This product was created with support from the National Institute on Disability and Rehabilitation Research of the U.S. Department of Education (grant #H133D010306), and is maintained with support from the National Science Foundation (grant #CNS-054061S). The contents do not necessarily represent the policies of the U.S. federal government, and you should not assume their endorsement.