> Hmm, actually: the <p> element allows text, in addition to child elements? So > shouldn't any whitespace within the <p>...</p> be treated as significant (part of > the content)?
This is very indeed very complicated. For mixed content elements, the whitespace inside is preserved, but not next to child elements - very stupid rules. If you once coded HTML you know this :-) Uwe