Re: html, head and body tags optional -- but singly, or together?

At 1:05 pm -0500 5/2/02, Perry, Russell wrote:
>[ snip ]
>
>The other thing is that for title the definition
>(http://www.w3.org/TR/html4/struct/global.html#edef-TITLE) says "Every HTML
>document must have a TITLE element in the HEAD section.", but if the head
>tag is entirely optional anyway, what do we do about title?  These things
>are a little confusing...

I believe that the resolution of this apparent conundrum
is that the HEAD tag is optional, but the HEAD section (element) is
not.

Videlicet

HTML Validation Results

Document Checked


* Character encoding: ISO-8859-1
* Level of HTML: HTML 4.01 Transitional

Congratulations, no errors!

Input

1           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
3          
4                   <title>Untitled</title>
5           <body>
6           The HEAD section is present, the HEAD tag is omitted (implied)
7           </body>
8          


Ben.

Received on Thursday, 7 February 2002 07:14:57 UTC