[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <cowan@m...>
  • To: Tim Bray <tbray@t...>
  • Date: Thu, 17 May 2001 21:51:26 -0400 (EDT)

Tim Bray scripsit:
> At 10:51 AM 17/05/01 -0400, John Cowan wrote:
> ><p><span>This is no longer </span><i>mixed</i><span> content</span></p>
> 
> Yeah, but that [expletive deleted], doesn't it?

Terseness of markup is of minimal importance.

> Er, wouldn't you need either <span> or <> around the word
> "mixed"? If not, why not? -T

To avoid mixed content as such, every element needs to contain either
only sub-elements or only #PCDATA.  In this case, "p" contains
contains "span" and "i" elements, and "i" and "span" elements
contain only #PCDATA.

-- 
John Cowan                                   cowan@c...
One art/there is/no less/no more/All things/to do/with sparks/galore
	--Douglas Hofstadter

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member