Student Version
Sometimes it is necessary to embed or nest lists within lists because there are subtopics of one or more of the list items. In this lesson you will nest a list within the parent list of required projects. The first item or unit on that list is Unit 4: Graphics. There are three tutorials for that unit, so you'll create a nested unordered list.
At the completion of this exercise:
<ul>
<li>Unit Four: Graphics
<ul>
<li>Evaluation of web graphics</li>
<li>GIF vs. JPEG</li>
<li>Web photo album</li>
<li>Sample buttons</li>
<li>3-D box</li>
<li>Receive instructor's approval of banner </li>
</ul>
</li>
<li>Unit Five: Overall Site Design and Management
<ul>
<li>Usability study report</li>
<li>Receive instructor's approval of the raw HTML list that will be turned into the navigation system</li>
<li>Receive instructor's approval of your use of an external style page</li>
<li>Receive instructor's approval as to how you're controlling the site's navigational menu with your external style sheet</li>
<li>Javascript enhancement</li>
</ul>
</li>
<li>Unit Six: Intro to Web Authoring Software
<ul>
<li>My Web Authoring Software</li>
<li>List of Links</li>
<li>Inserting an Image</li>
<li>Submit printed copies of reports generated by site management features in web authoring tool</li>
<li>Submit the completed Market Analysis, proposed site organization, and the sketch of the home page for review</li>
<li>Report to your instructor how your mock site measured up once the evaluation tool was applied</li>
<li>Submit copies of site management reports</li>
</ul>
</li>
</ul>
Now that you have a more complex list, you can see how important indenting is for keep the coding organized.
After you have saved the changes to index.htm, return to your browser and refresh to see the changes. Did the nested list subordinate correctly? The three tutorial items should be subordinate to the Unit Four item. Show your instructor your results before starting Module 4.
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.