Mark Pilgrim: All That We Can Leave Behind. A gentle introduction to migrating to XHTML 2.0, which, as intelligent people have noted, no one will do for years, if ever.

<br/>’s fame dates back to the Netscape 4 era, when CSS was sketchy at best and using the proper element meant you were a chump whose pages looked like amateur scribblings.

On an unrelated note, my copy of Clerks has finally arrived. I’m celebrating via my HTTP headers.

We just started, with the Chewley’s gum representative.

Snowball.

37.

8 and a half.

The independent contractors on the uncompleted Death Star.

The perfect dozen.

It’s important to have a job that makes a difference, boys.

Title dictates behavior.

I’m offering you my body, and you’re offering me semantics. [This will be my new mantra whenever anyone mentions the Semantic Web.]

§

Thirty nine comments here (latest comments)

  1. My love for you is like a truck, Berserker!

    — Eli Sarver #

  2. OK, but let’s try to keep this discussion PG-13.

    — Mark #

  3. In a row?

    By the way, you have to check out the Clerks animated series at some point, because it’s great, and my friends and I communicate almost entirely with lines from the movie and the cartoons. “Bear driving car, how can that be!?”

    — nick #

  4. Signifying Nothing (Chris Lawrence's weblog) (trackback)
  5. Hey you, get back here!

    — Matt Croydon #

  6. Lucas Thompson (trackback)
  7. Ditto to Nick’s comment regarding the cartoons.
    Nice comment, Nick … very pretty handwr^H^H^H typing. : )

    “Oh No!”

    — Lucas Thompson #

  8. I wish he would bring out a boxed set with the lot of the them all in one (ahem) box.

    — Adrian Sevitz #

  9. Hi Mark,

    Wenn I took a look at the xhtml specs a few weeks ago, I saw this: http://www.w3.org/TR/xhtml2/mod-list.html#sec_10.2., take a look at point 4:

    If an li element has an href attribute, and that element’s contents are selected, the link defined by the href attribute is followed.

    In your article you totally ignore this, why? The only thing you changes was ul into nl, but you can also leave all the a elements out.

    PS: sorry for my bad english, i’m dutch you see ;)

    — Anne van Kesteren #

  10. Yes, a future article will discuss the new “href everywhere” paradigm. One step at a time.

    — Mark #

  11. Do you have that one with that guy who was in that movie last year?

    — Johan Svensson #

  12. Happy Scrappy Hero Pup.

    — Mark #

  13. Don’t be such a semantic warrior.

    – me to my wife, various times, locations, and reasons

    — Jerry #

  14. Snowball was one of Ernest Hemmingway’s cats, the all- six-toed one. All the cats currently living at the Hemmingway House (in Key West) are reportedly decendants of Snowball.

    — steven #

  15. Yes, but snowballing is something else altogether.

    — Mark #

  16. My love for you is ticking clock, BERZERKER! Would you like to suck my c- BERZERKER!

    I’m a f- this bitch, I’ma f- that bitch … I’ll f- anything that moves!

    An Asian Design major.

    I’m not even supposed to be here today.

    There’s a lot of beautiful women out there, but most of them don’t bring you lasagna for lunch; they just cheat on you.

    Try not to suck any d- on the way to the parking lot … hey, get back here!

    — Joe Grossberg #

  17. Break his heart again this time, and I’ll kill ya, nothing personal.

    I don’t appreciate your ruse, ma’am.

    That’s nothing compared to how my cousin Walter died.

    Jeff Anderson got all the good lines.

    — Dave S. #

  18. I’ll be yet another person to recommend the animated series. I bought the two DVD set. All six episodes.

    Though it’s actually twelve, because you get to watch them through, then watch them again with commentary mode. Absolutely brilliant.

    I had seen Dogma, Mallrats and Chasing Amy, but had never seen Clerks. So I bought it and watched it on my laptop on a flight from Cincinnati to San Francisco. People looked at me strangely as I laughed out loud. The in flight movie was something serious, Lorenzo’s Oil I think.

    — Chris Thompson #

  19. Since XHTML 2.0 is being defined as an “alternative” to XHTML 1.0, and not a replacement for it, there is a simple way to start coding a XHTML 2.0 version of a website after the specs are finalized but before most browsers support it. Just “link” to the alternate version of the site like many people link to their RSS feed:

    [link rel="alternate" type="application/xhtml+xml" href="./xhtml2/" title="XHTML 2.0" /]

    And then wait until most browsers support XHTML 2.0 before changing the “main” version of the site to 2.0. If enough people do this, it will encourage browser makers to support XHTML 2.0, but not isolate any users of non-supportive browsers.

    — DJ Dizzy Trizzy #

  20. But, I love gatherings, isn’t it ironic?

    — Coty #

  21. “I could never reach.”

    — ViceClown #

  22. Damn, Mark, I had absolutely no idea that CSS classes supported multiple inheritance. That is just wicked cool.

    Don’t forget to do an article on the additions, like <section>. That one is going to make coding templates for inclusion in other templates so much easier.

    — Michael Bernstein #

  23. I hate to break this to you, but apparentley, the style attribute is coming back. See http://daniel.glazman.free.fr/weblog/newarchive/2003_03_02_glazblogarc.html#s902645 I promise not to tell anyone if you don’t :) I thought that Ian Hixson’s position seemed reasonable, but then there were a lot of arguments in www-html (several threads from http://lists.w3.org/Archives/Public/www-html/2003Jan/thread.html) that I’m not sure I understood fully. I’m also pretty confused about what the l element means, since Danial glazman asserts in his latest entry (http://daniel.glazman.free.fr/weblog/ – permalinks don’t seem to be working) that “a line (l element) is not a line (of poetry) is not a line (well, a line).”.

    — James graham #

  24. I assure you we’re open.

    Odd thing is, I only heard of Clerks via some Star Wars fanzine or other, writing about the contractors on the Death Star.

    — Martin Wisse #

  25. I’ve come to the conclusion that you’re right about the l element (what do you mean you knew all along?). There seems to be some discussion at http://lists.w3.org/Archives/Public/www-html/2003Apr/0224.html which essentailly agrees with your analysis.

    — James Graham #

  26. Perhaps I don’t have a full handle on the full XHTML 2 discussion (heck who does?) but my concern with removing the style attribute was that it made dealing with singleton items like images perversely difficult.

    After all since HTML presentation attributes like height and width are deprecated and I’m not going to change the external style sheets for every single unique image, options are very limited. And unnecessarily bulking up the header slows rendering of the pages …

    Sigh … I know that the style attribute is the enemy of reusability, but sometimes things are one-offs …

    — Style attribute when necessary #

  27. Re: Styling HTML.

    There is a 4th way: [?xml-stylesheet type="text/css" href="main.css"?] works with XHTML 1.

    — Anonymous #

  28. (I wasn’t trying to be anonymous in my stylesheet comment.)

    — Mark A. Hershberger #

  29. Adrian: Many have hoped for such a box (myself included), but the movies were released by different studios. It can never happen.

    You can buy the box, though.

    — AJ Schuster #

  30. Adrian: Many have hoped for such a box (myself included), but the movies were released by different studios. It can never happen.

    You can buy the box, though [http://store.yahoo.com/jsbstash/jertrilboxse.html.

    — AJ Schuster #

  31. Don’t forget the Clerks Comic Book. This contains a “deleted scene” from the movie.

    http://www.amazon.com/exec/obidos/tg/detail/-/1582402094/qid=1050691293/

    — Tom #

  32. Quote: “After all since HTML presentation attributes like height and width are deprecated and I’m not going to change the external style sheets for every single unique image”

    Maybe it’s a surprise for you, but you may still use the height and width property on images. It’s possible with css though not neccessary.

    — Anne van Kesteren #

  33. Quarter Life Crisis (trackback)
  34. No one expects the Semantic Exposition!

    http://slashdot.org/comments.pl?sid=61141&cid=5753607

    — Michael Bernstein #

  35. Anne,

    Well color me surprised … I saw height and width deprecated in the W3 specs and figured it wouldn’t validate as Strict so I’ve never used them since I started writing HTML and XHTML Strict pages.

    I tested them out and they work fine up to and including XHTML 1.1 … I’ve definitely learnt something today!

    — Style attribute when necessary #

  36. “I saw height and width deprecated in the W3 specs and figured it wouldn’t validate as Strict”

    If you read the w3c discussion lists you’d see that Height and Width of an image were argued to be inherent properties of the image and therefore didn’t fall into the presentation category. A bit weird for sure.

    — MikeyC #

  37. Don’t tell anyone, but in the scene where they’re driving to the funeral home, they’re going the wrong way. They should pass the junior high school *before* they go under the underpass.

    Oh, and the video store where Randal goes to get the video about hermaphrodites is on the street I grew up on. :-)

    OOOOOOH!! NAVY SEALS!!

    — ralph #

  38. Thought you all would appreciate this.

    http://www.viewaskew.com/clerks/sounds.html

    It, uh, probably smears the PG-13 rating that Mark was hoping for, though. ;-)

    — Ken Walker #

  39. Quarter Life Crisis (trackback)

Respond privately

I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)



§

firehosecodeplanet

© 2001–9 Mark Pilgrim