Re: why is Tidy changing my 4.0 code into 3.2?

* Malcolm Pateman [Tue, 18/06/2002 at 12:05 -0400]
> Hi there HTML Tidy People
> I have a simple question re. Tidy (I'm using the Mac BBEdit plugin) ...
> my code is HTML 4.0, but Tidy makes it into 3.2. Can someone help me?
> Here is an example:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
>    "http://www.w3.org/TR/REC-html40/strict.dtd">
> <HTML>
> <HEAD>
>  <TITLE>Testing 123</TITLE>
>  <META NAME="generator" CONTENT="BBEdit 5.0">
> </HEAD>
> <BODY>
> blah blah blah
> </BODY>
> </HTML>

Enclose your text in a paragraph, like:
  <body>
    <p>blah blah blah</p>
  </body>

In strict HTML 4, body does not seem to be allowed to contain directly
PCADAT.

<!ENTITY % block
     "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
      BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">

<!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->

Jany

------------------------------------------------------------------------
Jany Quintard               | I always wanted to be somebody,
jany.quintard@bigfoot.com   | but I should have been more specific.
                            |  Lily Tomlin

Received on Wednesday, 19 June 2002 04:34:46 UTC