>> ...or not. Yes, of course it's fine to use new attributes that older >> browsers will ignore. However, HTML 5 differs from HTML 4 not just in >> its repertoire of attributes and elements, but also *in its basic >> syntax* -- HTML 5 is no longer a subset of SGML as HTML ≤4 is. That's >> he part that (potentially) breaks graceful degradation.
It breaks absolutely nothing. More than that, only because browsers don't give a damn about SGML rules all that XHTML nonsense was possible: according to SGML <br /> should be rendered as if it was <br> > (search for SGML SHORTTAG). > Anyway, back to the "HTML4 rather than XHTML", which has little to do with > HTML5 anyway. IE6 perfectly supports XHTML and its <br /> tags (with all of > the usual IE6 quirks of course), so there is no reason to go to HTML4 if > that is your concern. IE6 (and any version of IE) does not support XHTML at all. Try to feed them proper XHTML (that's with the MIME type application/xhtml+xml) and see what happens. They just silently ignore all those slashes. HTML5 finally fixes this, and you can use a syntax you like for your HTML5 documents. However, if you want XHTML5 you MUST server your document with application/xhtml+xml: and by doing so be aware of all the differences in behaviour this brings. Regards, Rimantas -- http://rimantas.com/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

