Re: Can the <body> tag be empty

David <ddcc@MIT.EDU> wrote:

> 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.

As the minimal content model.  That doesn't mean it's optional for
all XHTML Family document types.

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

Which version of XHTML you're using?

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

Received on Monday, 14 January 2002 06:33:47 UTC