|
anderskorte -> RE: To XHTML or not to XHTML (5/5/2005 3:18:50)
|
quote:
but the nice thing is that you can have your custom dtds that call in certain mods. You're talking about XHTML Modularization, aren't you? Haven't studied it at all yet. quote:
I thought IE/FF/Opera/ all other common ones, supported XHTML very well. I'm not expert on it, but I assumed that it worked fine. IE prefectly supports XHTML that is served as text/html. When you send it as application/xhtml+xml it doesn't understand it, but offers a file download. text/xml and application/xml cause IE to display the source. quote:
I wouldn't suggest updating all your websites to be compliant with XHTML if you are using HTML 4.01 right now. I thought the difference between the two were very minimal, and that it wasn't worth the time/reward to do it. Exactly. It's not necessary yet, which gets me to the next quote... quote:
What else is expected from XHTML? Is there something that is going to be improved over the enxt year or so? There is 1.0, 1.1 and 2.0 -- 1.0 being the HTML compliant one, 1.1 the first *real* XHTML that should not be served as text/html and 2.0 the next generation future markup language. XHTML gets it's real power when served as XML. So, this is exactly what we're waiting for: all modern browsers becoming compliant with the application/xhtml+xml mimetype, or at least accepting text/xml and application/xml. This can't be done anywhere during the next few years since this would mean dropping off support for older browsers. Because of this, the "real" XHTML isn't ready to be used yet. quote:
The only thing I've noticed since I switched to XHTML strict is that once I got used to the more stringent guidelines my pages worked better, looked better, and performed better across the browser platform. Well, that's basically the same as HTML 4.01 Strict. I've never noticed any parsing differences between these two. By the way, did you all know that you can serve application/xml for IE and still make it work? It's sort of a hack, but according to my experiences it works perfectly. The only problem is that it requires use of XML prologs, so IE is forever in quirks mode. http://www.w3.org/MarkUp/2004/xhtml-faq#ie It even works in IE5, but for some reason IE5 seems to strip off all the default CSS styles (paragraph margins, font sizes, list markers etc.). Try out this little hack. It's very exciting to experiment how a real XML mimetype affects the parsing of CSS, page loading and all. [:)]
|
|
|
|