|
||||
|
Contents |
||||
Overview
|
|
Task 1
|
Save your XHTML template file as w22m-task1.htm, and title the page, "Sarah Strong Ordered List" (changing Sarah Strong to your own name). Make sure your name is listed as author. Open file W22m_s1.txt, copy the text, and paste it into the body of your w22m-task1 file. An example of what the page should look like in a browser is available. This is shown in Opera 7.1, reduced to 60% in full-screen mode in order to fit the entire document on one screen, so yours will look bigger, longer, and narrower. However, you should be able to see the numbers, indenting, and overall formatting. Link here to view. This is a list of US Government Web sites. We need to display this as an outline with appropriate numbers and letters for the sections and subsections.
Check your formatting in a browser. Compare what the browser shows with the text file: the indenting should be the same, with the addition of the appropriate numbers and letters at the beginning of each line. If you have a problem:The most frequent difficulty with nested lists is when the main list is ended too soon.
When you've got the ordered list looking the way it should, save the file and validate it. |
|
Task 2
|
Save your XHTML template file again, this time as w22m-task2.htm, and title the page, "Sarah Strong Unordered List" (changing Sarah Strong to your own name). Open file W22m_s2.txt, copy the text, and paste it into the body of your w22m-task2 file. This is part of a list of Web site contents from the University of Michigan Medical System. This time, we'll display the contents with various types of bullets.
An example of what this page should look like in a browser is also available. This is shown in Opera 7.1, reduced to 70% in full-screen mode in order to fit the entire document on one screen. Again, your document will look bigger, longer, and narrower. Link here to view. If you have problems, check the troubleshooting tips at the end of Task 1. When you've got the unordered list looking the way it should, save the file and validate it. |
| When you're done, double-check that the assignment meets the specifications above. Make sure your code is formatted according to best practices for indenting and commenting. Attach both files to email to the instructor. Be sure your email meets the formal requirements: name, class, section and exercise (W22m), and that it follows standard business-email practice.
|
| |
|
|---|---|
|
Audience
|
This is for people who understand how (X)HTML lists work and wish to work with lists hands-on. See module W22d "Lists in HTML" for information about how lists work.
|
| Objectives |
On successful completion of this module, you will be able to:
|
| Module W22m: Creating (X)HTML Lists |
This document is part of a modular instruction
series in Computer Instruction. For more information, see the overview
or the list of modules in this series, W: World Wide
Web. This document has been used in the following classes: INP
150 .
|
| History: |
Original: 26 September 2003
Last modification: Monday, 31-Aug-2009 11:48:05 EDT |
| Copyright |
Copyright © 2003, Laurence
J. Krieg, Washtenaw Community College
Instructors: You may point to this file in your Web-based materials; however, its location may change without notice. Students: You are welcome to make a copy for your personal use. All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org. |