miscoranda: by Sean B. Palmer

HTML Considered Harmful—Again

Hixie's Sending XHTML as text/html Considered Harmful seems to conflict with the (non normative, but HTML WG consensus) XHTML Media Types note, which states that XHTML 1.1 SHOULD NOT (not MUST NOT) be sent as text/html, and that ("HTML Compatible") XHTML 1.0 may be sent as text/html.

I tend to use XHTML, and I like to play around with XSLT screen scraping and such, too. I don't validate every page that I create (tsk, tsk), but I want a decent HyperText editor that'll do it for me. And yes, I know about Amaya.

So Hixie and Mark Pilgrim and others are reverting to HTML 4.01, eh? Well, that's no magic solution either. After all, this re-design of the Google homepage that I hacked up is a valid HTML 4.01 document (try it!):-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<title/GS/<body onLoad="document.f.q.focus()"<form 
action="http://google.com/search" name=f/<p/<input 
name=q< type=submit>//

Does anybody know of a single browser that with render the document correctly? Such features aren't permitted in XML (since it said NO to SHORTTAG). Go figure.

by Sean B. Palmer, at 2003-01-15 03:53:58. Comment?

How to Write Like a Fucking Idiot · Fragment Redirects

Sean B. Palmer