- From: Jordan Reiter <jreiter@mail.slc.edu>
- Date: Sun, 21 Sep 1997 19:26:33 -0500
- To: www-html@w3.org
I was validating a page using the Kindler, Gentler Validator (DOCTYPE HTML 4.0) and was told that my use of the PRE element was incorrect because : document type does not allow element "PRE" here; missing one of : "OBJECT", "IFRAME", "BUTTON" start-tag I looked through the docs and found no reference to PRE being required to be within OBJECT, IFRAME or BUTTON elements. What is wrong here? I have included the source code for your perusal (edited to remove non-essential content): <!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> -------------------------------------------------------- [ Jordan Reiter ] [ mailto:jreiter@mail.slc.edu ] [ "Don't you realize that intellectual people ] [ are all ignorant because they can't spray ] [ paint that small?" ] --------------------------------------------------------
Received on Sunday, 21 September 1997 19:19:52 UTC