It is currently Sat Dec 02, 2017 4:12 pm Advanced search
JAB Creations wrote:I'd recommend learning XHTML 1.1 served as application/xhtml+xml
zcorpan wrote:JAB Creations wrote:I'd recommend learning XHTML 1.1 served as application/xhtml+xml
I would recommend against that, too.
JAB Creations wrote:Lastly the HTML5 spec is not forward compatible as there is no versioning. After several iterations of HTML are released it will not be possible to know what version of HTML an HTML5/6/7 page conforms to other than to validate it and that can of course validate as a version other than what the author intended or it may not conform at all to any version.
fulg wrote:But this is the case only for the WHATWG spec, or am I wrong? Afair the W3C still wants to go with version numbers.
Yes... Though really it's just a cheesy name for "reformulation of HTML in XML" and the name "XML" could just as well have been "MGML" (Minimal Generalized Markup Language) if the vote about the name had turned out differently, which might have resulted in "XHTML" being called "MHTML" (Minimal HTML) instead...JAB Creations wrote:The 'X' in XHTML stands for extensible.
JAB Creations wrote:That means HTML5 features can be used in XHTML today.
JAB Creations wrote:Your users see errors if you don't code correctly.
JAB Creations wrote:Good code breaks when it's broken.
JAB Creations wrote:If it doesn't then you should expect differences in rendering between browsers and they will be browsers you won't test and many of your visitors will notice though you won't.
JAB Creations wrote:By serving your pages as application/xhtml+xml your testing if done correctly will easily catch these errors while you are developing locally so they won't make it to a live environment.
JAB Creations wrote:Lastly the HTML5 spec is not forward compatible as there is no versioning.
HTML has had thousands of iterations in the past decade, without "versioning" (well it's actually in version control, so you could say it does have versioning). Can you tell what version of HTML a page written last year conforms to? If you can, how is this knowledge useful to you? If you want to validate the page, why not validate to the latest HTML spec that has the most up-to-date bugfixes in? Surely the point of validating is to find mistakes? Why validate according to an old known-buggy set of rules (old spec)?JAB Creations wrote:After several iterations of HTML are released it will not be possible to know what version of HTML an HTML5/6/7 page conforms to other than to validate it and that can of course validate as a version other than what the author intended or it may not conform at all to any version.
fulg wrote:But this is the case only for the WHATWG spec, or am I wrong? Afair the W3C still wants to go with version numbers.
JAB Creations wrote:There tends to be a good balance of ideas between the W3 and WHATWG though I can't say myself, Z or another member might be able to point that out.
Yeah, wouldn't that be nice?JAB Creations wrote:I know they would get rid of doctypes if possible and eliminate quirks mode if possible
JAB Creations wrote:however most people for that are not supportive of application/xhtml+xml AFAIK thus quirks mode has to exist.
JAB Creations wrote:Besides, there should always be versioning of software and standards otherwise you introduce ambiguity and the whole point of standards is to remove ambiguity!
Users browsing this forum: No registered users and 1 guest