W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

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

From: ewitness - Ben Fowler <bfowler@ewitness.co.uk>
Date: Thu, 7 Feb 2002 11:55:54 +0000
Message-Id: <f04330107b88819e81a59@[192.168.254.56]>
To: "'www-validator@w3.org'" <www-validator@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT