W3C home > Mailing lists > Public > www-html@w3.org > December 2005

Re: HTML Improvement/Suggestion

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 12 Dec 2005 10:52:40 +0100
Message-ID: <20051212105240.xrdjx2xkr8q8s44g@webmail.annevankesteren.nl>
To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Cc: Mark Birbeck <mark.birbeck@x-port.net>, www-html@w3.org

Quoting Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>:
>    I don't ignore (or even underestimate) the difficulties
>    that this poses, but I do so wish that this concept of
>    extensibility had been uppermost in mind when HTML was
>    first conceived.  And yes, I know one can write a custom
>    DTD (I have, on more than one occasion) but without
>    a formal requirement that HTML renderers ("browsers")
>    be /required/ to honour non-standard DTDs, such an
>    approach can be of only very limited use.

DTDs are ingored, but did you ever play with XML (or XHTML) as opposed 
to HTML?
You can do all funny things you want to do. Like nesting <div> inside 
<span> et
cetera. (Which might be possible in the HTML parser as well because of 
the heavy
abuse of <span> around the web...) In XML you mostly get the DOM as you have
written the markup and therefore it is just a matter of styling the 
elements to
your liking. In HTML the DOM depends on the way your document is parsed which
might give some unexpected results. (Although it will be defined, one day.)

Anne van Kesteren
Received on Monday, 12 December 2005 09:53:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:12 UTC