Re: INS and DEL elements only in BODY element?

"David Cohen" <DCohen@CompuServe.com> wrote:

> The HTML 4.01 Specification conflicts with the DTD when stating which
> elements may contain INS and DEL elements.  According to the HTML 4.01
> DTD http://w3.org/TR/html4/strict.dtd, only the BODY element may
> contain INS and DEL elements.

No.  The content model of the BODY element is declared as:

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

The preceding "+" denotes an SGML feature called "inclusion", which
means INS and DEL can appear *anywhere* under the BODY element.
For details, please refer to the SGML standard.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Friday, 8 June 2001 00:43:20 UTC