Re: Tidy muddles up </i> and </b>

On Fri, 1 Sep 2000, Dr Murray Longmore wrote:

> Dear Dave
> <html>
> <i>Acute </b>AF</i>
> </html>
> gets tidied to  <i>Acute </i>AF
> Italics gets stopped too soon. Can you help?!

This is intentional and reflects the way current browsers
handle such bad markup. They treat the </b> as closing the
<i> element. In fact any inline close tag closes the current
inline element.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Friday, 1 September 2000 14:22:38 UTC