So what's the point?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

So what's the point?

Post 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.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post 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
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post 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)
RobertPaul
Forum Contributor
Posts: 122
Joined: Sun Sep 18, 2005 8:54 pm
Location: OCNY

Post 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.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post 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.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post 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.
Post Reply