Re: What's allowed in table cells?

-----BEGIN PGP SIGNED MESSAGE-----

In article <199609242334.SAA20671@inet.htcnet.com>,
"Carl Morris" <msftrncs@htcnet.com> wrote:
> | <BODY>
> | Foobar
> | </BODY>
> 
> Thats weird... the default mode of HTML 3.2 states thats incorrect, and
> that you must use a "relaxed" switch ... maybe WEBTECHS has such as
> switch/mode...

In HTML 3.2, the BODY element is defined as
<!ELEMENT BODY O O  %body.content>
Its contents is listed as
<!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">
and the %text bit in here is listed as
<!ENTITY % text "#PCDATA | %font | %phrase | %special | %form">
so #PCDATA is permitted inside BODY directly. IOW, you can have
plain text directly inside BODY.

I believe HTML 3.0 strict required all text to be inside a
block container, but HTML 3.2 does not appear to have such a
switch.

Galactus

- -- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>


-----END PGP SIGNED MESSAGE-----

Received on Wednesday, 25 September 1996 13:32:12 UTC