Principles of Web Server File Organization - HTML

Files on a Web server typically follow a tiered organization—placing subordinate pages in subdirectories. Furthermore, supplemental files—scripts, images, and so on—are typically placed in separate directories. Figure shows the organizational structure of a typical Web site.

Note There really isn’t anything typical on the Web. As such, you should use a file and directory structure that suits your needs. The examples in this chapter are just that, examples. The important thing is that you use some logical organizational structure in your files and directories, and be consistent.
If your site is small enough, it can be contained in one single directory. A site with many files, however, should be organized within several directories. Use your FTP client’s features to create subdirectories and transfer your files into the directories accordingly.

The typical organization of a Web site.

The typical organization of a Web site.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

HTML Topics