Review: Module W50a Web File Names Module W50b Web Site Setup Module W50c Web File Basics OBJECTIVES: a.Describe the hierarchical organization structure of computer files; b.Express the relationship between files in related directories using relative link notation; c.Use file names that work well on all computers that access the Web; d.Organize files on local disks in a way that parallels the organization of the Web site for which they are intended. QUESTIONS: 1. What technical term best expresses the orgnizational structure of computer files? 2. Computer file systems are made up of ____________ which can contain __________ and other ______________. 3. Another word often used for a computer "directory" is ___________. 4. In a computer file system, a ______________ can only reside in one ________________. The next five questions relate to this outline of a Web site file structure: public_html contains: | index.htm | faq.htm | images, which contains: | | logo.gif | | bullet.gif | | divider.gif | | directions.gif | | jim.jpg | | bob.jpg | | sue.jpg | products, which contains | | index.htm | | expensive.htm | | moderate.htm | | economical.htm | about, which contains: | | index.htm | | directions.htm | | jim.htm | | sue.htm | | bob.htm 5. Page "index.htm" file in "public_html", needs to display "logo.gif". How would you put the image into the file using relative reference? 6. The home page for the site needs to link to the home pages of each subsection. Using relative reference, how would you indicate the link to "sue.htm"? 7. Page "jim.htm" in "about" needs to display "jim.jpg". Using relative reference, how would you put the image into the file? 8. All the pages except the home page need a link to "index.htm" in "public_html". Using relative reference, how would you indicate the link in "expensive.htm"? 9. Page "moderate.htm" in "sales" needs a link to page "directions.htm" in "about". How would you indicate that link using relative reference? 10. If a URL contains only a directory name, what two file names will a Web server look for? 11. What are the two file name extensions (the part after the dot) allowed by most Web servers for HTML files? 12. Are capital letters in Web file names considered different from lower case letters? 13. What is the simplest rule for handling capital letters in Web file names? 14. List ten characters that should not be used in Web file names: 15. What is the best way to organize Web files on your own disk, as compared to the Web server's disk? ANSWERS 1. Hierarchical [W50cA1s] 2. Computer file systems are made up of DIRECTORIES which can contain FILES and other DIRECTORIES. [W50cA2s] 3. folder [W50cA3s] 4. In a computer file system, a FILE can only reside in one DIRECTORY. [W50cA4s] 5. image/logo.gif 6. about/sue.htm [W50cB1s] 7. ../image/jim.jpg [W50cB2s] 8. ../index.htm [W50cB3s] 9. ../about/directions.htm [W50cB4s] 10. default.html and index.html [W50cC1s] 11. htm and html [W50cC2s] 12. on some servers they are; on others they aren't. [W50cC3s] 13. always use lower case. [W50cD2s] 14. any of the following: space % # ~ ! ^ & * ( ) + ` [ ] { } ' \ / | < > ? ; : , " ' [W50cC4s] 15. Use the same directory structure and names. [W50cD1s]