Aug 31st 03

The Transition to Strict

Yesterday, I spent a couple hours making the switch from XHTML 1.0 Transitional to XHTML 1.0 Strict. It was actually very easy. My most common validity problems were using the align and border attributes for images, and using the target attribute for links.

The only pages that I had trouble getting to validate were the individual archive pages, so I am turning to all of you for some assistance. When validating, I get the following errors:

  • there is no attribute “language”
    <script type=”text/javascript” language=”javascript”>
  • there is no attribute “name”
    …/mt-comments.cgi” name=”comments_form” onsubmit=”if…

I really have no idea how I can get rid of these two things, because it seems to me that they are both necessary. Help is appreciated!

Aug 24th 03

Semantic Clean Up in Aisle 4!

A couple people have recently asked me why I use a div with a set class to define my pull quotes. They said that a blockquote would be more appropriate.

I went to the XHTML Reference, and according to it, a blockquote defines a long quotation. Seeing that my pull quotes are usually only about a sentence, I felt that a blockquote was not the way to go. Then I spotted the cite tag, which defines a citation, and that sounded pretty close to what I was looking for.

So, I wanted to ask you, the knowledgable audience: what should I use to define my pull quotes? A blockquote, a citation, or should I stick with how I’m doing it now? Thanks!