Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: XHTML (was: Chelume)

From:Mark J. Reed <markjreed@...>
Date:Saturday, January 10, 2004, 18:07
On Sat, Jan 10, 2004 at 12:04:31PM +0100, Andreas Johansson wrote:
> > you have to make something both bold and italic <b><i>like this</i></b>, > > not <b><i>like this</b></i>. > > I can't see why that should matter to the software, but since it's easier on > my brain, I've always been doing it.
The software cares because X[HT]ML documents are hierarchical; every element is contained within another element. In <b><i>..></i></b>, the <i> element is contained within the <b> element; in <i><b>...</b></i>, the reverse is true. In <b><i>...</b></i>, neither element is contained within the other; they overlap. That's not allowed becuase the model of the document built to enable processing of it has no way to represent it. Which element is which's parent? -Mark