Re: body tag problem

On Thu, 10 Feb 2005, tedd wrote:

> One can create a page that does not have an open <body> tag, but does 
> have a close </body> tag and the page will validate. I assume that 
> this is a bug.

No.  The <body> and </body> tags are both optional in HTML.

http://www.w3.org/TR/html4/struct/global.html#edef-BODY

"The BODY element"
...
"Start tag: optional, End tag: optional"

-- 
Liam Quinn

Received on Friday, 11 February 2005 02:43:39 UTC