Please note that you may have been redirected (you might like to make a note of the URL in the address bar of your browser and update accordingly) This is a permanent archvie but is no longer actively maintained. Please visit http://joshuaink.com for the latest updates.
Thoughts about XHTML and other stuff
Wednesday November 24, 2004
No matter how much you read about it or how much you discuss it you will, eventually, have to make your own mind up about XHTML and validation and how you approach it. That's not to say it has to be a permanent decision but if you don't take a stand, albeit temporary or indeed wrong and a little fuzzy, how can you possibly make a plan for improvement?
XHTML versus HTML
It's not even a debatable issue as far as I am concerned. It has to be XHTML if only for the idea of what I am trying to do, the place I am trying to reach for. The simple fact remains that, tag soup though it may well be, it works (most of the time) on the browsers I aim at and I don't see that changing any time soon. Seeing XHTML at the top of my pages simply reminds me of the very reason I gave up WYSIWYG to join the good fight, nothing more.
Strict versus Transitional
I am in danger of contradicting myself here, no, I am going to contradict myself here but it doesn't matter. For me marking up with XHTML Transitional misses the point completely and I can't help feeling that people use it just to make getting that lovely blue strip when validating that tiny bit easier. I am guessing of course but I used to do it myself, it felt good, it looked good. Right now, I would rather have a page in strict that doesn't validate because, for example, I used <strike>. This way I can start to look at what I am getting wrong, what tags I shouldn't be using and correct my mistakes where possible and hopefully when I finally make the move to XHTML 1.1 I will be a little better prepared.
The peppery fire of tag soup
I have had a number of, occasionally heated, discussions about tag soup i.e. serving up XHTML as text/html and I am aiming to get this site in order as soon as I can (still with you on that one Hayo) and that is fine. This is my personal site, it's here for me to play with and if a page, or the whole site, falls over because I have some malformed code hiding in a corner, it doesn't matter, nobody gets hurt and I learn something in the process.
I simply can't afford to take this attitude towards my clients websites and to make matters more difficult, 80% of my small business clients want some form of control, they want to update themselves, they want their site to continue to work afterwards. I for one have bills to pay and kids to feed, I am not going to tell them no.
It begs the question once again, why even bother with XHTML if it's just tag soup and is ultimately going to be destroyed by someone who doesn't know or care very much about the code?
I have two thoughts on this; firstly part of it is for me, for my job satisfaction, so I can finish the job and say to myself, I gave it 100%. Secondly, it's about how you approach content management. It's about assessing your clients level of interest and abilities and then choosing the right CMS for them (not you). You can't simply steer away from standards just because you don't think the client can handle it. It's my job to make standards work for them as best I can and to try and get them interested in the idea at least, then maybe one day... who knows?
When, or should that be If, I find a client who wants the correct mime type, who does care about everything but Internet Explorer (instead of the other way around), who wants me to make every single update on the site, then I will do the job how, as we all know, it should be done. Meanwhile, I can't preach from on high at my clients, it just don't work.
Internet Explorer
It's a problem but it ain't going away any time soon. As I afford myself the luxury of charging for my services I have to take it into account, I have no choice, period.
The almighty validator
The only real question I have left for myself is does the almighty validator have any place left in my compromising tool set? Yes it does, it's incredibly valuable when things aren't working as they should. On many occasions an apparent bug in Internet Explorer has turned out to be a <div> I forgot to close and the validator is good for that but I just can't obsess about it these days, I can't lose sleep over it. I know for a fact that at the time of writing, a link on the front page of this site is causing it to be invalid but I don't care, it still works (hopefully). I know that before I publish this post I will whiz it through the validator but what happens if a comment causes it to become invalid? Nothing that's what, nobody dies as a result.




Angad
1366 days ago
Kev
1366 days ago
Nathan Pitman
1366 days ago
Jon Hicks
1366 days ago
John Oxton
1366 days ago
Patrick
1366 days ago
Gordon Mackay
1366 days ago
Tim
1366 days ago
Tim
1366 days ago
Angad
1366 days ago
Jared Christensen
1365 days ago
Jina
1365 days ago
Houser
1365 days ago
Ryan Mack
1365 days ago
the dullneon
1365 days ago