Originally posted by: fs5
or you could totally ignore validation and just go with what works. IMO getting to 100% w3c validation is more trouble than it's worth.
You shouldn't totally ignore validation. If you're a novice coder (hell, even a pro) you might have forgotten an end tag, or something that would cause the layout to be thrown off in some lesser standards compliant browsers (assuming most of you develop on FF2 / Opera 9 / Safari 3). If you want to ignore validation, go ahead. I wasn't around in the early 00s on the web, but did that work out well when people didn't really care all that much about validation?
For those of you who thinks it takes too damn long, get the web developer extension and if you already have it, CTRL SHIFT A and just make sure there aren't any serious errors such as end tags. Most of the time you will forget to make your &'s as &'s, forget an alt attribute value on an image, etc.
Getting to 100% validation isn't that hard, assuming the user is using an XHTML Transitional Doctype where he can use deprecated elements such as <b>, <i>, or any of the HTML 4 doctypes. I see absolutely no point in using XHTML Strict or even XHTML 1.1 .. hell even XHTML Transitional if you're not using the right mime type for XHTML which is application/xhtml+xml and (here's my wild guestimate) 95% of "XHTML" pages are sent as text/html which means if they have errors, the pages still show up (where the real XHTML behavior when using the RIGHT doctype should be a notice on where in your document the error is, if there is any).
I see no point in using XHTML anymore, because people code webpages, and in any real large interactive website (maybe a blog?) where a user can enter HTML in comments, or maybe a forum... or something such as MySpace where the user gets to edit the HTML (do they even allow that btw? Lol) the page will *NEVER* be 100% valid and if the author used the right MIME type for XHTML then the pages wouldn't not display (if there were any errors) and IE doesn't even support XHTML.
I think the new trend (well, at least to real front end nerds that hang out in IRC, etc) is to go back to using HTML 4 Strict (which is pretty much the same as XHTML Transitional) except you have to exercise your fingers into not typing those extra /> tags, and you're actually using the RIGHT doctype.
Here's a link if anyone's interested -->
http://www.webdevout.net/articles/beware-of-xhtml
I code all my new sites in HTML 4 Strict, and try to get them to be as valid as they can be so that I know I have coded everything nicely, and valid. Of course validation does not in anyway mean that your layout will look the same cross-browser, nor does it mean your code is semantic, well structured, maintainable, and all that.