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)

Received on Monday, 22 September 1997 07:59:14 UTC