Category Archives: ITD 210 (Spring 2008)

In Search of eXtensibility

The standard for code in our class this semester will be XHTML 1.1, which is similar to the XHTML 1.0-Strict we used in ITD 110 — all the deprecated stuff is gone.  In case you’re new to XHTML, here are the main differences compared to HTML:

  •  The page must start with an appropriate prolog.  (Check the textbook, section 2.3, for details.)
  • All tags and attribute names must be in lower case.
  • All attribute values must be enclosed in quotation marks.
  • Every attribute must have a value.  (For example, <input type=”radio” selected=”selected”> instead of <input type=radio selected>.)
  • Every tag must be closed.  (For example, <p>Some text…</p>, or <hr />, or <img src=…  />.)
  • Tags may be nested, but should never overlap.  (For example:  <p><b><i>Some text</i></b></p> is correct;  putting the  close tags in any other order is incorrect.)

All code submitted, either for homework or projects, should be successfully validated.  Three ways to validate your code (listed from easiest to hardest):

  1. In Opera, right-click on the page (but not on an image or a link) and then click on Validate.   Or press Ctrl+Alt+V.
  2. In Firefox, install the Web Developer extension (which is a good idea for this class, for many reasons).  Then, while viewing the page, click on Tools | Validate HTML or press Ctrl+Shift+H (if you’re viewing a page on a web server) or Tools | Validate Local HTML or Ctrl+Shift+A (if you’re directly viewing a page on your own system).
  3. Visit the W3C Validator page and follow the instructions there.

Happy coding.

I Got the Winter Whites Instead of the Blues

In all the years I’ve been teaching at Nova, this is only the second time I’ve had a class cancelled due to weather — I guess it depends on your perspective whether that’s good or bad.  I am disappointed though, as I was looking forward to meeting new people and seeing old students again.  (I won’t normally phone everybody in case of a cancellation, but I made an exception for the first night.)

As noted in the e-mail I just sent everybody, the college has no provisions for make-up classes, so we’ll just have to do a bit of double-timing to compensate.  This week’s homework assignment will be due as originally planned. The good news is that the first two weeks are largely reviewing what you should already know (XHTML 
and CSS), so it shouldn’t be too much of a scramble. If you’re not sure of your LAN ID (that’s the one you use to log in to any of the computers on campus), there are workstations where you can look it up in the Loudoun library and the open computer lab. If you have problems getting your assignment published to your college web space, contact me and we’ll try to get it sorted out.

Have a great week, and be sure to contact me if any questions: e-mail or instant messaging (see Syllabus for details) works best, but you’re always welcome to try my cell phone.

In lieu of me trying to entertain you tonight, enjoy this extract from David Pogue’s New York Times “Circuits” column today:

Imagine (sung to the tune of John Lennon’s “Imagine”)

Imagine there’s no Apple,
No products that begin with “i,”
No monthly iPod models,
No Apple stores to get you high.
Imagine all the people
Finding other things to do!

Imagine there’s no bloggers…
It isn’t hard to do!
No viruses or spyware,
No weekly Windows patches, too
Imagine all the people
Learning to get a life…
(You-hoo-hoo!)

You may say it’d be a nightmare
Without Google, Mac or Dell
We might have real conversations–
But the world would be dull as hell!

Imagine no new cellphones;
Kiss console games goodbye.
No David Pogue or Mossberg
To tell us what to buy.
Imagine all the people
Getting some exercise!
(You-hoo-hoo!)

You may say that I’m a loony
But rest assured I’m almost done.
I’m pretty sure it’ll never happen
So we nerds can live as one!