LISTSERV mailing list manager LISTSERV 15.5

Help for HTML-WG Archives

HTML-WG Archives

HTML-WG Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave HTML-WG
Reply | Post New Message
Search Archives

Subject: Re: META
From: Eric Bina <[log in to unmask]>
Reply-To:[log in to unmask]
Date:Tue, 4 Jul 95 13:00:53 EDT

text/plain (87 lines)

> The question is really whether we are stuck forever with certain broken
> behaviors of the most popular present browsers, or whether we can 
> modify HTML to make it more flexible by allowing content in tags in
> HEAD; not whether we can define all the needed elements for meta.
> We can't do the latter; it is not apparent yet from discussion whether
> we can do the former.

I would LOVE to make Netscape ignore content in the HEAD if someone
could show me a way to do it without breaking tons of current documents
and without breaking LEGAL HTML documents.  Here is the killer message
from Dan last time this issue came up:

----- included message ------

Date: Thu, 4 May 95 04:26:10 EDT
Reply-To: [log in to unmask]
Originator: [log in to unmask]
Sender: [log in to unmask]
Precedence: bulk
From: [log in to unmask] (Dan Connolly)
To: Multiple recipients of list <[log in to unmask]>
Subject: Re: Suppressed content in HEAD: myth or reality? 
X-Comment: HTML Working Group

Brian Behlendorf writes:
 > > 
 > > Any good suggestions on what to do when the user opens a <HEAD> and forgets to
 > > close it?  
 > Put up a big red dialog box that says "BAD HTML", with an explanation 
 > "Apparently you forgot to check your <HEAD>..."  Etc.

Well.. not quite. According to the current DTD, </HEAD> is completely
optional. An SGML parser infers it at the right place. Of course SGML
parsers choke badly on uknown tags.

Quick Quiz: Is the following legal? Is abc in HEAD or BODY?


   1. <!-- select doctype above... -->
   2. <HEAD>
   3. <TITLE><!-- your title here --></TITLE>
   5. abc
   6. <!-- your HTML test data -->
   7. </BODY>

Ye ole validation service at


Bing! It's legal, and abc is in BODY:

Parsed Output (Element Structure Information Set)


------ end included message ------

What this message means to me is if an unknown HEAD tag with content is
encountered, the unknown tag will be ignored, and the content will force 
an assumed beginning of the body because </HEAD> is optional.  Needless
to say, this is bad.


Back to: Top of Message | Previous Page | Main HTML-WG Page



CataList Email List Search Powered by the LISTSERV Email List Manager