- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Wed, 21 Nov 2007 14:58:10 +0100
- To: Dean Edridge <dean@55.co.nz>
- CC: Maciej Stachowiak <mjs@apple.com>, Karl Dubost <karl@w3.org>, "public-html@w3.org Tracking WG" <public-html@w3.org>, Roger Johansson <roger@456bereastreet.com>
Dean Edridge wrote: > Maciej Stachowiak wrote: >> Anyway, my point is just that I think both ways of writing it are >> reasonable in different situations, and should be chosen based on >> circumstances. > > There is a method that is suitable for all circumstances, that's the > beauty of (X)HTML5: > > <!DOCTYPE html> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <title>Demo</title> > </head> > <body> > <p class="top-paragraph" id="something"> > Hello World > </p> > </body> > </html> While it is easy to produce a trivial document like that which conforms to both syntaxes, it becomes much more difficult in practice when you have to consider differences in stylesheets, scripting, character encoding issues. It is entirely possible to address each of these issues, but it's not always easy. -- Lachlan Hunt - Opera Software http://lachy.id.au/ http://www.opera.com/
Received on Wednesday, 21 November 2007 13:58:36 UTC