Monday, September 10, 2007

We reviewed how to code hyperlinks in HTML and what attributes are. These topics were covered in the reading assigned for today. The first part of Chapter 2 also raises a question about how to learn about more HTML elements. One site I like to use as a quick reference is DevGuru. I like W3 Schools as a source for getting better explanations of the various elements, especially with the Try-it-yourself feature.

Then I talked about how to organize a Web site in the context of the example in Chapter 2 of HFHTML. Web site organization refers to the way the files that make up a Web site (HTML files, image files, and so on) are placed on the server—the folder (directory) structure used. I also reviewed the concepts of absolute and relative paths in hyperlinks. Always use relative paths when referring to files on the same Web site. Check out the Web Diner Tutorial or the CoffeeCup tutorial if you'd like another explanation.

Homework

Read the rest of Chapter 2 in HFHTML. Then organize the files for my Web site for me based on the following scenario.

I have a new Web site I'm putting together. Right now the structure is flat—everything is in one folder. I like the organization that the HFHTML authors describe in Chapter 2 for the lounge. (I especially like the idea of putting images in a directory named images.) Rework the files in my site so that it uses a better directory structure and every image file (.jpg or .gif) is in an images directory. Let me note that each semester I teach a different set of courses, so the groups of files for each course should be in separate folders—all the files for COSC 115 in one folder, etc. For Wednesday, sketch how these files are better organized. Use the notation from Chapter 2 of HFHTML.

No comments: