This weblog is no longer being maintained. All information here has been ported to This site ( remains only for archival purposes.

January 13, 2004

Time to convert to XHTML 1.1

After the New York trip, I think it will be time to change the site over from XHTML 1.0 Transitional to XHTML 1.1. The changes should be limited, mostly changing the javascript and form areas. The main area’s right now to break would be:

  • <script language="javascript"> — no language attributes allowed in XHTML 1.1
  • <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">name attribute is only allowed in <input> tags, change all others to @id@ attribute
  • Get rid of <br /> tags wherever possible, make sure any remaining are inside block—level tags.
  • Wrap all <input>, <textarea> and <label> tags in block-level elements.

I’ll have to scope out Jacques Distler’s entries at Musings to review the changes needed to MT’s templates and comments to maintain validable pages. I think I will have to—just to make it more fun—follow the W3C’s recommendation to serve XHTML 1.1 as application/xhtml+xml as well. Luckily Jaques has been there, done that and written up a nice How-To. This entry is really just a “note to self” of sorts, to remember the links and resources I may need during the conversion.

Posted by Eric at January 13, 2004 04:34 PM | TrackBack
Comments & Trackbacks