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

Guido.van.Rossum@cwi.nl
Message-id: <9307201546.AA11625=guido@voorn.cwi.nl>
To: hoesel@chem.rug.nl (frans van hoesel)
Cc: henrich@crh.cl.msu.edu (Charles Henrich), www-talk@nxoc01.cern.ch
Subject: Re: <p> and <b><i>.. tags (HTML+) 
In-reply-to: Your message of "Tue, 20 Jul 1993 17:24:21 MDT."
             <9307201524.AA01090@Xtreme> 
From: Guido.van.Rossum@cwi.nl
X-Organization: CWI (Centrum voor Wiskunde en Informatica)
X-Address: P.O. Box 4079, 1009 AB  Amsterdam, The Netherlands
X-Phone: +31 20 5924127 (work), +31 20 6225521 (home), +31 20 5924199 (fax)
Date: Tue, 20 Jul 1993 17:46:08 +0200
Sender: Guido.van.Rossum@cwi.nl
Status: RO
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>