Re: A problem w/PRE element

Dave Raggett (dsr@w3.org)
Mon, 22 Sep 1997 07:57:36 -0400 ()


Date: Mon, 22 Sep 1997 07:57:36 -0400 ()
From: Dave Raggett <dsr@w3.org>
To: Jordan Reiter <jreiter@mail.slc.edu>
cc: www-html@w3.org
In-Reply-To: <l03110708b04b69f5d0af@[192.168.1.117]>
Message-ID: <Pine.WNT.3.95.970922075641.-90601V-100000@hazel.hpl.hp.com>
Subject: Re: A problem w/PRE element

On Sun, 21 Sep 1997, Jordan Reiter wrote:

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
> <HTML>
> <HEAD>
> <TITLE>FOO</TITLE>
> </HEAD>
> <BODY TEXT="#666666" LINK="#006666" VLINK="#006666" BGCOLOR="#CCCCCC">
> <P ALIGN=CENTER><SMALL><PRE>
> foo
>    foo
>       foo
> </PRE></SMALL></P>
> </BODY>
> </HTML>


PRE is a block level element can isn't allowed within P or SMALL.
I guess the rest is just how the validator tried to recover. 

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2521 (office) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)