7 ms·
You know I just don't understand why some people are so against XHTML.
by crs 17y ago
You know I just don't understand why some people are so against XHTML.
- jmillikin 17y agoAnybody can vomit text into a file, rename it ".html", and have it rendered to something by a web browser. When they try the same thing with XHTML, they receive an error page. Even otherwise reasonable programmers, who would not expect invalid code to be parsed by a compiler, blithely contribute to the spread of invalid HTML. For example, the front page of news.yc fails with 143 errors: http://validator.w3.org/check?uri=http%3A%2F%2Fnews.ycombinator.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 http://validator.w3.org/check?uri=http%3A%2F%2Fnews.ycombina... A second factor is that IE does not support XHTML. Any features that rely on XHTML support (inline SVG, MathML, custom attributes, &c) are unavailable in a "portable" application. IE 6 is still a very large chunk of the market, especially among non-technical users, so relying on any features it doesn't support is iffy from a business perspective.
- feverishaaron 17y agoPerhaps because many have come to realize that it is a pipe dream that browsers would fully support it.
- simonw 17y agoBecause it imposes arbitrary additional rules that make errors fatal, in a Web where errors haven't been fatal in the past.
- jamesbritt 17y agoThis may shed some light: http://hixie.ch/advocacy/xhtml http://hixie.ch/advocacy/xhtml Truth is, most people, including some vocal advocates of XHTML, don't serve it with the proper content-type.