Page 1 of 1

So what's the point?

Posted: Tue Dec 06, 2005 6:39 pm
by Luke
What advantage does validating my xhtml site? What does this do for me? The only advantages I see are that it is now fully navigational with images missing. This isn't that much of a benefit. and also it is more readable and clean. I am not argueing the point, just want some facts. I like that there are regulations and standards... something the internet for the most part is completely lacking.

Posted: Tue Dec 06, 2005 7:13 pm
by Charles256
um..in the future when they add new stuff to the browsers you're site will still read the same and it won't randomly screw up because you were using some tag they weren't going to support next year:-D

Posted: Tue Dec 06, 2005 7:19 pm
by neophyte
The perfect idea is that some day valid html will be cross-browser html. In other words, what displays in one displays in all.

Standards compliance also helps you professionally. If your html is compliant, a complaint that "it's broke" doesn't hold much weight.

Third the xhtml compliance link at the bottom is groovy.... 8)

Posted: Tue Dec 06, 2005 7:24 pm
by RobertPaul
Another less-frequently used benefit of XHTML is that you can parse it with an XML parser. (In fact, Firefox parses XHTML with its XML parser when it's served as application/xhtml+xml, as it should be, rather than text/html.) Think XSLT, or DOM modifications, or whatever. This may be increasingly useful as Firefox 1.5 adds support for E4X. From TFL:
ECMA wrote:E4X adds native XML datatypes to the ECMAScript language, extends the semantics of familiar ECMAScript operators for manipulating XML objects and adds a small set of new operators for common XML operations, such as searching and filtering.

Posted: Tue Dec 06, 2005 7:43 pm
by m3mn0n
1. Because writing proper & more efficient code is something everyone should strive for, always
2. Standardization is the proper way, and is much more robust/scalable/easy to manage than sloppy, invalid HTML

That's more than enough reason for me without even getting into all the other reasons.

Posted: Tue Dec 06, 2005 8:24 pm
by Luke
all excellent reasons. Thanks.

It is really unbelievable the amount I have learned in the short time I have been here. I love this place.