W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2002

Can the <body> tag be empty

From: David <ddcc@MIT.EDU>
Date: Fri, 11 Jan 2002 22:48:48 -0500 (Eastern Standard Time)
To: www-html-editor@w3.org
Message-ID: <Pine.WNT.4.40.0201112245230.-535963@oldMac.mit.edu>
The XHTML modularization page seems to suggest that we can have empty body
tags, such as <body></body>.

http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_structuremodule
lists the contents of body as (Heading | Block | List)*, meaning that all
are optional.

However, the XHTML validator at http://validator.w3.org won't let me have
empty bodies.

Which is correct?
Received on Friday, 11 January 2002 23:00:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:41 UTC