Re: <p> and <b><i>.. tags (HTML+)

Guido.van.Rossum@cwi.nl
Tue, 20 Jul 1993 17:46:08 +0200


hoesel@chem.rug.nl (frans van hoesel) writes:

> So my suggestion is to include a tag to end any emphasis and </em> seems
> most logical to me. If you want to end only the italic emphasis use </em i>.
> This means that <em b><em i>bold italic when possible</em></em> would be
> wrong (there is one /em too many)

I don't believe this is possible in SGML: the proper matching of <em>
and </em> must be done independently of any attributes, if I'm
correct. (It certainly is easier for parsers that don't inspect the
attributes too carefully).

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>