HTML and CSS Reference
Organizing the lounge…
Let's give the lounge site some meaningful organization now.
Keep in mind there are lots of ways to organize any site; we're
going to start simple and create a couple of folders for pages.
We'll also group all those images into one place.
Q: Since you have a folder for images,
why not have another one called “html”
and put all the HTML in that folder?
A: You could. There aren't any “correct”
ways to organize your files; rather, you
want to organize them in a way that works
best for you and your users. As with most
design decisions, you want to choose an
organization scheme that is flexible enough
to grow, while keeping things as simple as
Q: Or why not put an images folder
in each other folder, like “about” and
A: Again, we could have. We expect that
some of the images will be reused among
several pages, so we put images in a folder
at the root (the top level) to keep them all
together. If you have a site that needs lots
of images in different parts of the site, you
might want each branch to have its own
Q: “Each branch”?
A: You can understand the way folders
are described by looking at
them as upside down
trees. At the top is
the root and each
path down to a file
or folder is a branch.