So what's the point?
Moderator: General Moderators
So what's the point?
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.
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
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....
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....
-
RobertPaul
- Forum Contributor
- Posts: 122
- Joined: Sun Sep 18, 2005 8:54 pm
- Location: OCNY
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.