Skip to content

I just won’t stand for it, I tell you.

by VM Brasseur on November 11th, 2005

There is simply no excuse for sloppy HTML coding. Open a tag? Close it. In LIFO order. Don’t use proprietary tags and/or characters. Indent things for goodness sake. This stuff is supposed to be human readable, after all.

This isn’t rocket science, people.

And those folks who write software which generates crappy HTML code? Yeah, those folks ought to be flogged with a cat5-o-nine-tails. It’s really not that difficult to programatically generate and validate HTML, so just do it already. I’m talking to you, Microsoft Word.

Sheesh. It’s almost enough to make me want to hang up my keyboard and go live in the wilderness somewhere.

This rant brought to you by all of the work fine clients whose craptacular HTML files I need to scrub before I’m able to work on them. May all their net connections have insufferable lag and their memory leak like a sieve.

From → Main

10 Comments
  1. The Brasseurs permalink

    Ummmmmm, PMS?

  2. Quizzart permalink

    @The Brasseurs–Pretty Markup Sign?

    Cat5-O’nine-tails I like it. Can I get a USB mouse cord garrote? or maybe an iron maiden made with thousands of PGA pins/chips?

  3. Eh, crap. Foiled by wordpress. I shall comment out the next comment.

    When you make XHTML comments, do you need to end them with a — />?

  4. Nope. XHTML comments are exactly the same as HTML 4 comments.

    Wisenheimer. :-p

  5. Guily as charged. But I think I already covered that in this post.

  6. But then wouldn’t the tags be invalid XML since they don’t get terminated and aren’t marked as one-off tags (like for example).

    Or not, maybe it’s because they start with a

  7. Oh, and for the record, it’s a pain to talk about HTML tags in this forum. Seems like WordPress is just eating them up and dropping them into the bitbucket.

  8. That’s because you’re actually typing the tags themselves. Try using character entities instead of the angle brackets:

    <strong>Like this</strong>

    XHTML comment tags are terminated, it’s just at the end of the comment.

Leave a Reply

You must be logged in to post a comment.