Re: HTML Improvement/Suggestion

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
<http://annevankesteren.nl/>

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