Almost valid xhtml

Thursday Jan 19 2006

As you may have noticed this site doesn't have any 'valid xhtml' vanity buttons. My previous design used to have these but I decided to rip them out. I've grown to believe there are more important issues to worry about than whether every page on this website is 100% valid . Allow me to explain!

When you look at the code of this website you'll see that I'm perfectly capable of creating a valid xhtml website with no table to be seen anywhere in the code. In fact at the moment I'm writing this, the site is basically valid except for one thing: some character issues. It's those character issues that drive me nuts lately and I decided to stop bothering with those. In fact most of these issues are generated by my CMS and I really don't see any use in patching this and keeping sure no 'problem' like that will ever occur. Things like this only become 'problems' if we call them that.

Dark Matter Pro: a premium photoblog template.

Affiliate program available

Pollution

Then there's the pollution in postings. Even though I do tend to write al my posts in valid XHTML, an error or two may slip through. It's human. Every once in a while one can forget to write an ampersand in a link as & or close a tag. Does it matter? Of course not. These minor problems are forgiven by any modern . Nobody will notice except for the ' obsessed'.

There you have it. My main reason for jumping off the 'valid xhtml bandwagon' lies in the mere fact that I can't guarantee perfect validity at all times... that is... I could, but I just don't think the time needed for all this 'quality control' is justified. No one except the occasional geek will ever notice while my pages look fine in any modern browser.

Serving the right content-type

Then there's the content-type issue. We all know xhtml should be served as text/xml and NOT as text/html. Yet, our beloved Internet Explorer 6 can't handle pages served as text/xml. This means we're forced to serve the wrong content type in order to get our site accessible to the majority of visitors. This defeats the whole purpose of xhtml if you think of it. Therefore, if we're already 'doing it wrong' we might as well not bother with minor validation problems anymore. Yet another reason to not show any vanity buttons.

So, go HTML 4.01 then!

Going HTML 4.01 would be an option that eliminates most of the above mentioned problems. However: Writing the xhtml way has sort of been carved into my whole way of working. I work a lot with real as well. Therefore I write things the XML way. Call me lazy, call me recalcitrant but here's another thing that gives me a feeling of 'why the hell bother?'. It just doesn't matter to anyone except the few obsessed. Going HTML 4.01 would also mean I'd have to dig through all of my postings in order to 'fix' them. Yet another thing I don't feel like spending valuable time on.

Almost valid xhtml

While writing this posting it suddenly got to me. I'm gonna place a button anyway. I'll label it 'almost valid xhtml' and point it to this very posting. As everyone will be able to see from my sourcecode and the sourcecode of any other site / theme I created it's crystal clear I'm fully capable of delivering rock solid standards compliant websites. If you're a customer and you demand valid xhtml I will deliver, that's a promise. I however completely fail to see the relevance of 100% valid xhtml on my personal website. Therefore I'm proudly wearing my new 'almost valid xhtml' link.

Happy webdeveloping!

bookmarking

Commentary

Join the discussion! Leave a comment through the comment form below!

Got something to add to this?

Feel free to leave a comment on this site. You can use Textile and Emoticons. Your email address is only used to show a gravatar. Please stay on-topic and use common decency. Spammers will be shot in front of a live studio audience.

If you plan on posting code, use pastebin please and post a URL to the code. The comment processing doesn't deal very well with code. Sorry for the inconvenience.

Human comment spammers: don't bother posting your crap here. Comments are moderated and I won't let any of your shit through.

Remember personal info?
Yes
No

Trackbacks

If you have an interesting related post on your own site you can leave a trackback. As they say: 'a little AJAX a day keeps the spammers away' which is why you'll have to click below to generate a trackback key. The key will be valid for 15 minutes and can be used only once.

 

  • Featured Links
RockySomewhere near the Orion NebulaBookalicio.usGolden Gate BridgeThames River BankJackie and mePimpin' it