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@[]>
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


HTML Validation Results

Document Checked

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

Congratulations, no errors!


1           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4                   <title>Untitled</title>
5           <body>
6           The HEAD section is present, the HEAD tag is omitted (implied)
7           </body>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:33 UTC