student assignments
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 Web Site</li>
<li>Second Client Web Site</li>
<li>Third Client Web Site</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 © 2006 by University of Washington. Permission is granted to copy these materials for educational, noncommercial purposes provided the source is acknowledged. This product was funded by the National Institute on Disability and Rehabilitation Research of the U.S. Department of Education (grant #H133D010306). However, the contents do not necessarily represent the policy of the Department of Education, and you should not assume their endorsement.