Wednesday, October 3, 2007

We started Chapter 7. Moving right along! We discussed XHTML and XML—how XHTML is the future. Benefits of using XHTML are given on pages 270–271 of HFHTML. On page 282, the authors note, "The choice is yours." I'll add, "No, it's not." At least in this course! You are required to use standards-conforming XHTML for your Web pages for the rest of the semester. The good news: You are almost there! at least in terms of what you have learned so far. Pages 274–275 of HFHTML explain how to get there.

To help you understand XML, check out this CD catalog. I admit that it's not very pretty, but check out the URI and the source (View Source in your browser.) Notice anything? There's no HTML, just XML. The cool thing about XML is that elements can be designed to get across all kinds of information, not just information about the components of a document that HTML does. And XML is expandable—that is, more kinds of elements can be added. XHTML is an XML version of HTML. HFHTML mentions (page 271) that people have already added some elements for math equations.

I also like the recipe example in the Wikipedia entry for XML.

Lab today: Download xml.html and revise it so that it validates as XHTML 1.0 Strict. Work with a partner. When you are done, send the file to me via e-mail. Please make the subject be XHTML Lab. Please copy (CC) your partner.

Homework

Read Chapter 7.

Revise the index.html file you submitted for the assignment due today to be XHTML. Send the validated file to me as an attachment to an e-mail message addressed to me. Please make the subject of the e-mail be Validated XHTML page. You may work with a partner from the class. If you do, make sure the e-mail message indicates so.

Monday, October 1, 2007

We started Chapter 6. My goal is to get through Chapters 6 and 7 this week. They are closely related. Then we will move on to cascading style sheets and accessibility.

A few links:

I returned the second quiz today. The score distribution was: 19.5, 16, 15, 14, 13, 12.5(2), 10, 9.5, 9 and 7. The average was 12.5. We spent a little time going over the most-missed items. Problem #2 gave the most trouble. Problem #3 gave the least. The rest were pretty much even, although 4, 7, and 9 had the largest standard deviations.

Homework

Download the archive of a small Web page. Edit the file index.html so it validates as HTML 4.01 Strict.

If you uncompress the archive to your W: drive, you can specify the URI of the file, just like I did in class for my home page. If you uncompress the archive to a local disk, then you'll need to use the Validate by File Upload method of input, or you can use the third tab, Validate by Direct Input.

Attach the validated HTML file to an e-mail message sent to me. Please make the subject of the e-mail be Validated 4.01 page.

You may work with another student in the class on this assignment if you like. If you do, please CC: the other student in your e-mail message and also put his/her name in the message.

Oh, I updated the key for Quiz #2 with a corrected diagram for the nesting hierarchy.

Friday, September 28, 2007

You took Quiz #2 [key] and created a blog on blogger.com.

Homework

Create an entry in your blog. Put a link to your blog on your home page on cs.wofford.int.

Wednesday, September 26, 2007

Today we reviewed the worksheet due today and I answered any questions still lingering about what we've covered so far. I We also talked about your blog today. I introduced Blogger.

Reminder: There is a quiz on Friday covering Chapters 1–5, with a particular emphasis on Chapters 3–5.

Create a blog

As you use the Web every day, think about the pages you visit from the perspective of what you are learning about in this course. For example, you might like (or dislike) a page's layout or the way the navigation is set up for the site the page is in. Record your thoughts in a Weblog. Be sure to include links!

Make at least 3 posts each week. I will read them at random intervals, but at least twice a week.

As shown on the syllabus, this blog contributes to 10% of your grade for the course. I will assess you primarily on the content of your blog: depth of thought and reasonable content. I will also look for correct spelling and grammar.

Later in the semester, you will use your blog in association with your work on the project.

Put a link to your blog on your home page on cs.wofford.int.

Monday, September 24, 2007

We finished up Chapter 4:

I also showed you NotTab Light, a freeware Windows application that I have used quite a bit. I like the way it makes editing HTML files less tedious.

Homework

Complete the worksheet that was originally due today. Since so many of you had trouble with Photoshop Elements, I'll extend the due date for your home page on cs.wofford.int until the start of class on Wednesday.

I expect those of you who are having trouble transferring files to the server to make an appointment with me. I'll be happy to help you with Photoshop Elements if I can.

Friday, September 21, 2007

I figure that it is time to abandon Notepad and TextEdit and move to something a little more useful for editing Web pages. On the PCs in the labs, I thought we had installed NoteTab Lite. This program runs only on Windows machines, but take heart, Mac users! We will only use NoteTab Light for a short while before we move on to something better that runs under MacOS X and Windows. We'll check it out soon in class.

I asked if there were any things from Chapter 3 that are still mysterious (à la last Friday's assignment that I forgot to talk about on Monday!). We reviewed the idea of nested elements. As I mentioned, this notion of nesting will play an important role in styling Web pages.

I showed you a picture—a picture of a window on my desktop— that I stored in five different image formats: BMP, TIFF, JPEG, GIF, and PNG. The image files were different sizes and some images looked better than others while others were downright pathetic. [images]

showed you a little about Photoshop Elements.

Homework

Read Chapter 4 if you have not done so already. Then read Chapter 5 and complete the worksheet I have put together.

Here are a couple of tutorials for using Photoshop Elements to create a logo. Use Photoshop Elements help to figure out how to do some of the steps. You can also check out Dr. Whisnant's lessons.

Wednesday, September 19, 2007

Today I returned two assignments: the sykesda Web site organization and the worksheet for chapter 3. I think the best organization for the sykesda Web site is to have a folder for each course and then put all the files for a course in that course's folder, including the images for the textbooks. Those images go in an images sub-folder for a course folder. I like the parallel organization. Notice that I have renamed many of the HTML files. Knowing what we now do, all the files named home.html will be renamed to index.html. [You should figure out why!] [Full solution.]

One more thing to keep in mind: path names in attributes should match the case of letters used on the Web server. Windows servers are not case-sensitive, but Mac and Linux servers sometimes are.

I showed you how to transfer files to a Web server using an FTP program. (We used welcome.html and hey.html.) Our server, cs.wofford.int, requires use of secure FTP (SFTP). Some Web servers do not require secure transfers and accept plain ol' FTP. The program we used, Secure Shell Client, runs on a Windows machine. The program Filezilla is a little easier to use [you want the client]. In runs on a PC and a Mac. On a Mac, I've also had good luck running Fugu. Your root folder should be accessible in the www folder that you see on the remote computer. If you have trouble with that, then use this path on the remote to get to your root folder: /var/www/html/yourusername/

Homework

For Friday by the start of class, put a Web page on cs.wofford.int that will serve as your home page for this course. I should be able to reach this page using the URL http://cs.wofford.int/yourusername/. On the page put the following information: Your name, your CPO number, a local phone number, your Wofford e-mail address, and a picture of you (or of something). The file for the picture should be in an images folder. A favicon would also be nice.

Keep in mind that this server is accessible only from the campus network so you must use a computer connected through the campus network as your SFTP client. Your username is the same one you use to read your e-mail and log into lab computers. But your password is your W number (with a capital "W").