Namida,
"TO what extent does XHTML Compliancy matters?"
It matters to you if you're interested in the things offered by the combination of XHTML and CSS, such as smaller file sizes, more versatile sites, code that is more robust and readable by a greater number of readers (machine and human), etc. I'm sure there are probably a few other benefits, but those were the ones, frankly, that sold me.
It doesn't matter if those things (and the other benefits of XHTML and CSS) don't matter to you.
The answer to this question pretty much depends on what
you want to do with that coding-for-the-web thing. Do you just want to make a website or two, something that'll keep you employed at maintenance for a good long time?
Basically, compliance with industry and technological standards matters to you based on how much you feel like being compliant with industry and technological standards! This is a reflection of your professional attitude regarding your tools.
Right now, someone eschewing XHTML because it's missing some vital function has some weight, as there's not a lot of rock-solid compliance out there and there is a lot of manufacturer-specific functionality that people are married to.
Most of the time, even this excuse is lame because the manufacturer-specific things that people think aren't supported by CSS are, in fact, but they don't bother trying to learn.
Someone who avoids it because it's too hard to learn doesn't earn a lot of sympathy for me, as I'm dumb as a box of hair, yet I picked up the basics in a couple of days and let the validator help me further. (those error messages contain Valuable Teaching Data)
"Will HTML someday become unsupportable by browsers?"
Not looking forward to being dragged into the next rev?
I can search on the web and find a Logo interpreter and write a program in Logo that does some very useful things. 8)
Why did you start using HTML 4.0 compliant code? I mean, why not stick with 1.0?
Chances are, HTML 1.0 is still supported by browsers -- but the things you can do with it are kinda' dwarfed by the things you can do with later versions of HTML. Likewise HTML >> XHTML/CSS.
"I don't like seeing many <div>s around my code it made my code doubled and tripled and the effect is just the same since I'm not doing anything fancy."
Then you're not doing it right.
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
When I started converting one of my sites from HTML to XHTML/CSS to support the positioning and such, I saw approximately 4K per file just vanish like the ugly useless flab it was (let's see, 200 files x 4K = 1.6Meg). It made
total sense to have a single CSS document controlling the look of the entire site (I want to change a font call, change it in one document). And when I fed it into Jaws (a reader for the blind), there was no problem!
So, you know, after experiencing that, I'm not too likely to
downgrade my site to just-HTML!
Cheers,
![[monkey] [monkey] [monkey]](/data/assets/smilies/monkey.gif)
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door